How can i kick someone when server restarts?
#2

Just create a command that loops through all players, kicks them, and then initiates GameModeExitFunc();

Quote:
Originally Posted by Nazi Germany
This forum requires that you wait 120 seconds between posts. Please try again in 27 seconds.
God dammit..

Like this:

pawn Код:
COMMAND:restart(playerid, params[])
{
    SendClientMessageToAll(-1, "{FFFFFF}Restarting, please rejoin the server!");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        Kick(i);
    }
    GameModeExit();
    return 1;
}
Reply


Messages In This Thread
How can i kick someone when server restarts? - by Lilcuete - 14.07.2011, 19:06
Re: How can i kick someone when server restarts? - by Skylar Paul - 14.07.2011, 19:10
Re: How can i kick someone when server restarts? - by Adil - 14.07.2011, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)