When I press Login after a GMX my stats reset.
#3

Quote:
Originally Posted by nezo2001
Посмотреть сообщение
These may happen because you save the player's stats under OnPlayerDissconnect so when the OnGameModExit run nothing save because you didn't save player's stats and I think you can't save under OnGameModExit because there isn't "playerid" params
Heya thanks for the reply
The server does save the stats OnGameModeExit, I made a complete /gmx command to make sure it will save. It also has a timer so it has the time to save all the player stats. And it does save. At the moment I turn off the server, all the stats get saved perfect. If I start up the server again and join it, it still has all my info saved, but at the moment I press the Login button (after typing my password) it sets everything to 0 somehow.
Reply


Messages In This Thread
[FIXED]When I press Login after a GMX my stats reset. - by DizZykeee - 31.07.2015, 17:48
Re: When I press Login after a GMX my stats reset. - by nezo2001 - 31.07.2015, 18:35
Re: When I press Login after a GMX my stats reset. - by DizZykeee - 31.07.2015, 18:43
Re: When I press Login after a GMX my stats reset. - by nezo2001 - 31.07.2015, 19:07
Re: When I press Login after a GMX my stats reset. - by DizZykeee - 31.07.2015, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)