SA-MP Forums Archive
ongamemodeexit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ongamemodeexit (/showthread.php?tid=621961)



ongamemodeexit - MerryDeer - 17.11.2016

Hi,

In this callback i can check variables, or they are already deleted or nulled?

like

OnGameModeExit

if( something == true )
{
// do something
}


Re: ongamemodeexit - Threshold - 17.11.2016

Did you test it.........?


Re: ongamemodeexit - RedRex - 17.11.2016

i saw nothing error but if you want do this

Код:
public OnGameModeExit()
{
    print("Gamemode ended.");
    return 1;
}



Re: ongamemodeexit - Sew_Sumi - 17.11.2016

Quote:
Originally Posted by RedRex
Посмотреть сообщение
i saw nothing error but if you want do this

Код:
public OnGameModeExit()
{
    print("Gamemode ended.");
    return 1;
}
That's not what he was meaning...

Код:
public OnGameModeExit()
{
    if(TempVar=1337)
    {
        print("Gamemode ended properly.");
    }
    return 1;
}