rcon exit
#5

I'm not sure if it's supposed to call OnPlayerDisconnect, as it's meant to shut the server down (like you're doing maintenance). It's the same as cmd.exe. If you type 'exit' in the console, it will close. Happens with SA:MP servers too. However, you can try this:

pawn Код:
public OnGameModeExit() {
    new x;
    while (x<500) {
        if (x!=(0xFFFF)) {
            CallRemoteFunction("OnPlayerDisconnect", "i", x);
        }
        ++ x;
    }
}
It will call OnPlayerDisconnect when the callback is called (it's called on rcon gmx, rcon exit)...
Reply


Messages In This Thread
rcon exit - by BeckzyBoi - 05.10.2011, 22:37
Re: rcon exit - by steki. - 06.10.2011, 00:18
Re: rcon exit - by Emmet_ - 06.10.2011, 00:36
Re: rcon exit - by BeckzyBoi - 06.10.2011, 02:03
Re: rcon exit - by Emmet_ - 06.10.2011, 03:20
Re: rcon exit - by BeckzyBoi - 06.10.2011, 12:47
Re: rcon exit - by [HiC]TheKiller - 06.10.2011, 19:04
Re: rcon exit - by leong124 - 07.10.2011, 10:46

Forum Jump:


Users browsing this thread: 2 Guest(s)