Problem with my friend code
#7

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

    if(strcmp(cmdtext,"/heal",true) == 0)
    {
         SetPlayerHealth(playerid, 100);
         SendClientMessage(playerid, COLOR_RED, "Vita ripristinata.");
         return 1;
    }
    if(strcmp(cmdtext,"/armor",true) == 0)
    {
         SetPlayerArmour(playerid, 100);
         SendClientMessage(playerid, COLOR_GREEN, "Armatura gratis.");
         return 1;
    }
    return 1;
    }
    return 0;
}
please tell him to try like this cause i want to know will work xD

thanks xD
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: 10 Guest(s)