18.03.2017, 08:36
error
script
Код:
syntax error in the expression, or invalid function call
Код:
CMD:kill(playerid, params[]) { if(IsPlayerAdmin(playerid == 1)) return SendClientMessage(playerid, 0x33AA33AA, " [BA:RP]Koristi /kill [playerid]"); if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, 0x33AA33AA, " [BA:RP]Igrac koga pokusavate ubiti nije online!"); if (sscanf(params, "ui", SetPlayerHealth)) return SendClientMessage(playerid, 0x33AA33AA, "[BA:RP] Ubijen si od strane admina!"); else if (IsPlayerAdmin(playerid == 0)) return SendClientMessage (playerid, 0x33AA33AA, "[BA:RP]Niste ovlasceni da koristite ovu komandu!"); return 1; }