Problem with my friend code
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
      if(!strcmp(cmdtext,"/kill",true))
      {
            SetPlayerHealth(playerid, 0);
            return SendClientMessage(playerid, COLOR_RED, "Muori.");
      }

      if(!strcmp(cmdtext,"/heal",true))
      {
            SetPlayerHealth(playerid, 100);
            return SendClientMessage(playerid, COLOR_RED, "Vita ripristinata.");
      }

      if(!strcmp(cmdtext,"/armor",true))
      {
            SetPlayerArmour(playerid, 100);
            return SendClientMessage(playerid, COLOR_GREEN, "Armatura gratis.");
      }

      return 0;
}
Reply


Messages In This Thread
Problem with my friend code - by Face9000 - 19.12.2010, 22:01
Re: Problem with my friend code - by Rafa - 19.12.2010, 22:04
Re: Problem with my friend code - by Face9000 - 19.12.2010, 22:06
Re: Problem with my friend code - by XePloiT - 19.12.2010, 22:07
Re: Problem with my friend code - by Face9000 - 19.12.2010, 22:08
Re: Problem with my friend code - by XePloiT - 19.12.2010, 22:09
Re: Problem with my friend code - by Rafa - 19.12.2010, 22:10
Re: Problem with my friend code - by admantis - 19.12.2010, 22:22
Re: Problem with my friend code - by Face9000 - 19.12.2010, 22:28
Re: Problem with my friend code - by Manuwar - 27.02.2011, 01:19

Forum Jump:


Users browsing this thread: 3 Guest(s)