24.02.2009, 22:16
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext,"/kickall",true) == 0) { for (new i = 0; i < GetMaxPlayers(); i++) if(IsPlayerConnected(i) && player_admin_level < 6) Kick(i); return 1; } return 0; }