18.10.2013, 01:31
pawn Код:
CMD:healme(playerid)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, RED, "UnKnown Command! Type /help");
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
new h_msg[100], ptname[MAX_PLAYER_NAME];
GetPlayerName(playerid, ptname, MAX_PLAYER_NAME);
format(h_msg,sizeof (h_msg),"Administrator %s has healed you!", ptname);
SendClientMessageToAll(RED, h_msg);
return 1;
}