if (strcmp("/arep", cmdtext, true, 10) == 0)
{
if(!IstSpielerAdmin(playerid, <10 ))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, ROT, "Du sitzt in keinem Fahrzeug!");
{
new vehicleid = GetPlayerVehicleID(playerid);
if(GetPlayerState(playerid)!=PLAYER_STATE_DRIVER) return SendClientMessage(playerid,ROT,"Du sitzt in keinem Fahrzeug!!");
{
RepairVehicle(GetPlayerVehicleID(playerid));
SetVehicleHealth(vehicleid, 1000);
SendClientMessage(playerid, GREEN, "Du hast das Fahrzeug Repariert nutze es nicht aus!");
return 1;
}
}
return 0;
}
}
Ich bekomme 9 Erros und das sind diese:
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2519) : error 017: undefined symbol "SpielerSpeichern"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2563) : error 017: undefined symbol "dcmd_motor"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2564) : error 017: undefined symbol "dcmd_licht"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2565) : error 017: undefined symbol "dcmd_makeadmin"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2566) : error 017: undefined symbol "dcmd_setfraktion"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2638) : error 017: undefined symbol "IstSpielerAdmin"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2638) : warning 215: expression has no effect
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2638) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2638) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\SERVER\gamemodes\NGR.pwn(2638) : fatal error 107: too many error messages on one line