11.07.2012, 14:27
Try this!
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/healme", cmdtext, true, 10) == 0)
{
SetPlayerArmour(playerid, 50);
SetPlayerHealth(playerid, 50);
SendClientMessage(playerid, COLOR_PINK, "You've refilled your Armour, and health. Goodluck!");
return 1;
}
return 1;
}