21.08.2012, 10:23
pawn Код:
CMD:akill(playerid, params[])
{
new id;
if(!sscanf(params, "u", id))
{
SetPlayerHealth(id, 0);
SendClientMessage(playerid, 0xFFFFFFFF, "You admin killed a player.");
SendClientMessage(id, 0xFFFFFFFF, "You've been admin killed.");
return 1;
}
else return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /akill [PlayerID/PartOfName]");
}