05.04.2012, 20:05
PHP код:
if(strcmp("/sethp 100", cmdtext, true))
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, 0xAFAFAFAA, "(MESSAGE) You have just set your HP to 100.");
format(string, sizeof(string), "(MESSAGE) %s Has just set his health to 100.");
SendClientMessageToAll(0xAFAFAFAA, string);
return 1;
}