26.12.2012, 01:41
Quote:
To be honest, it depends on what you're using OnGameModeExit for. If you just shut the server down after that, everything is removed anyway. But if it's called because you used something like 'gmx' to restart the gamemode/switch to the next gamemode, then they will stay in memory. Not sure with timers, but in theory they would continue too. Same goes for OnFilterScriptExit and this applies to things like menus, vehicles, objects ect too.
So claiming like "no good scripter does that", like someone did, is just.. Well, I do it and I do it because I used to have terrible crashes because menus weren't destroyed properly. After a while, the menu limit was exceeded, which resulted in a server crash. |