17.08.2009, 14:07
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/heal", cmdtext, true, 5) == 0) { SendClientMessage(playerid,0xFF33FFAA,"You have been healed !"); SetPlayerHealth(playerid,100.0); return 1; } return 0; }