22.06.2013, 10:36
try this
pawn Код:
command(kill, playerid, params[])
{
new PID;
if(PlayerInfo[playerid][pAdmin] < 4) return return SCM(playerid, COLOR_RED, "You are not authorized to use this command");
if(sscanf(params, "u", PID)) return SendClientMessage(playerid, COLOR, "/kill [ playerid / Name ]");
return SetPlayerHealth(PID, 0);
}