OnGameModeExit
#1

Can i save variables in this callback? I mean

Update blabla SET blabla='%d'", Miaumiau );
Reply
#2

Yes, of course you can.
OnGameModeExit work like OnPlayerDisconnect, but you need to remember OnGameModeExit it's called when you shutdown/close the console and not when you restart server.
Reply
#3

yea
PHP код:
public OnGameModeExit()
{
    print(
"Gamemode ended.");
    return 
1;

This callback is called when a gamemode ends.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)