SA-MP Forums Archive
Crash - 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: Crash (/showthread.php?tid=345134)



Crash - iGetty - 23.05.2012



On that there, it is when I try to turn the server off.

Here's my OnGameModeExit();


pawn Код:
public OnGameModeExit()
{
    return 1;
}
That's literally all I can think of.

Thanks!


Re: Crash - iGetty - 25.05.2012

Bump


Re: Crash - iggy1 - 25.05.2012

If you are using mysql and have connected to a database, make sure you mysql_close() in OnGameModeExit.


Re: Crash - iGetty - 26.05.2012

Thanks! That fixed it.

Repped matey.