21.08.2012, 09:15
pawn Код:
CMD:akill(playerid, params[])
{
new
id;
if (sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_CRIMSON, "Koristi: /akill [id]");
if (id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_CRIMSON, "Greska igrac nije konektovan!");
SetPlayerHealth(id, 0);
SendClientMessage(id, COLOR_CRIMSON, "Ubijen si od strane admina!");
SendClientMessage(playerid, COLOR_CRIMSON, "Igrac ubijen!");
return 1;
}

