[Question] With OnGameModeExit
#1

Hi Friends of Forum samp...
Well.. I have a question with OnGameModeExit...
The problem is the next: When i want close the console the players is no saved... the account no saved correctly..
then I want that when the console is closed first run features in OnGameModeExit, after saving accounts or functions executed in OnGameModeExit, The console is closed and the server shuts down, well in short words, my question is: is there any way that the console closes after last X seconds?
Thanks for Reading, regards.
Reply
#2

You can loop through the players in OnGameModeExit and save their data. However, if you use gmx, it will do that twice. It's better to manually turn off and then turn the server on and it'll be fine.
Reply
#3

Thanks for responding, but I turned off the server correctly, what happens is that the player be connected and restart the server loses data and returns to its previously saved data (before disconnecting), well ...
If the player is disconnected and I reboot the server does not lose its data back to its previous position to its previous things, but if I restart the server connected with the bug happens to mention ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)