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