CMD kil
#7

error
Код:
syntax error in the expression, or invalid function call
script
Код:
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;
}
Reply


Messages In This Thread
CMD kil - by IceWizz - 18.03.2017, 08:28
Re: CMD kil - by Unte99 - 18.03.2017, 08:29
Re: CMD kil - by IceWizz - 18.03.2017, 08:31
Re: CMD kil - by Unte99 - 18.03.2017, 08:32
Re: CMD kil - by IceWizz - 18.03.2017, 08:33
Re: CMD kil - by Unte99 - 18.03.2017, 08:34
Re: CMD kil - by IceWizz - 18.03.2017, 08:36
Re: CMD kil - by Unte99 - 18.03.2017, 08:40
Re: CMD kil - by IceWizz - 18.03.2017, 08:42
Re: CMD kil - by IceWizz - 18.03.2017, 08:48

Forum Jump:


Users browsing this thread: 2 Guest(s)