I have a weird problem with server crashing. Once a day at a random time, two of my plugins fail to load and the server crashes on the next mapchange. Tried removing those 2 plugins (and some others too) but it didn't fix the problem. It still crashes but now without errors. So I put those plugins back and made another plugin that 'hooks' the event of those 2 plugins failing to load so I know when the server is going to crash. But no matter what I tried I couldn't stop it from crashing.
And now I have a new idea; shut down amxmodx before the map changes when I know it's going to crash. That will prevent it from crashing.
I did meta unload 1 and it worked but then I couldn't put it back on without restarting hlds.
Tried meta load and it loaded amxmodx but none of the plugins worked.
How can I start amxmodx in the middle of the game or at least make it start on the next mapchange?