30.10.2014, 08:41
ok
Remove code before that i gave you, And use this
Remove code before that i gave you, And use this
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/heal", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, -1, "You have been healed.");
return 1;
}
return 0;
}