Quick Help? :)
#4

Quote:
Originally Posted by Kitten
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/healme",cmdtext,true,10) == 0) {
        SetPlayerHealth(playerid,100);
        SendClientMessage(playerid, 0xFFFFFF, "You Healed Yourself!");
        return 1;
    }
    if(strcmp("/killme",cmdtext,true,10) == 0) {
        SetPlayerHealth(playerid,0);
        SendClientMessage(playerid, 0xFFFFFF, "You Killed Yourself!");
        return 1;
    }
    return 0;
}
Thannnnks for that bro, rep +1
Reply


Messages In This Thread
Quick Help? :) - by KiiD - 11.02.2012, 04:03
Re: Quick Help? :) - by [HK]Ryder[AN] - 11.02.2012, 04:26
Re: Quick Help? :) - by Kitten - 11.02.2012, 04:27
Re: Quick Help? :) - by KiiD - 11.02.2012, 05:40

Forum Jump:


Users browsing this thread: 1 Guest(s)