CMD kil
#10

Код:
CMD:kill(playerid, params[])
{
 new targetid;
  {
   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", targetid, SetPlayerHealth)) return SendClientMessage(playerid, 0x33AA33AA, "[BA:RP] Ubijen si od strane admina!");
                    SetPlayerHealth(playerid, 0.0);
         if(IsPlayerAdmin(playerid == 0)) return SendClientMessage (playerid, 0x33AA33AA, "[BA:RP]Niste ovlasceni da koristite ovu komandu!");
          }
      }
  return 1;
  }
}
new code
errors again syntax error
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)