10.11.2011, 23:26
pawn Код:
if(!strcmp("/kickall", cmdtext, true))
{
for(new i; i < MAX_PLAYERS; i++)
{
if(pInfo[i][pLevel] < 1)
{
if(IsPlayerConnected(i))
{
Kick(i);
}
}
}
return 1;
}
just remmeber that after the loop and after the pLevel if statment i represents every player that hasn't got an admin level.
also change the pLevel array into the array that u use for your admin level
EDIT: damn u poster above!, like ur name btw