removing all players
#2

pawn Код:
CMD:kickall(playerid,params[])
{
    format(str,sizeof(str),"Administrator %s has kicked everyone in the server for %s",Nam,Reason);
    SendClientMessageToAll(-1,str);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] == 0)
        {
        Kick(i);
        }
    }
    return 1;
}
didnt tested but try it
Reply


Messages In This Thread
removing all players - by xMichaelx - 04.12.2011, 22:32
Re: removing all players - by Tanush123 - 04.12.2011, 22:34
Re: removing all players - by xMichaelx - 04.12.2011, 22:35
Re: removing all players - by Tanush123 - 04.12.2011, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)