[Help] Saved data after GMX.
#1

Hey...
I have problem, when I exit from the server, everything is saved, but when I do gmx, strings, floats and some variables aren't saved. I have MySQL, but I had it on every files system... What can I do?
I tried to save data on OnGameModeExit, but nothing happend...
Reply
#2

You could add it on RCON Command that it will Kick everyone and make a timer until it sends GMX to the console
Reply
#3

I would never recommend using gmx as always, you should actually restart your server fully to avoid bugs particularly client bugs.
Reply
#4

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
I would never recommend using gmx as always, you should actually restart your server fully to avoid bugs particularly client bugs.
GMX works fine for me.

Just loop all players OnGameModeExit and Kick(); that's the way i do it, all data is saved correctly for me. If you save data OnPlayerDisconnect() it'll be called since you used Kick();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)