[HELP] Can't save stats
#4

When do restart the server using /gmx, OnGameModeInit() function is called. Make sure you are setting the Player enum variables to 0 there.

Also, there is no need to write the stats of a player every minute to a file when you can save the stats under OnPlayerDisconnect.
Reply


Messages In This Thread
[HELP] Can't save stats - by Maxips2 - 09.06.2010, 23:20
Re: [HELP] Can't save stats - by RichyB - 10.06.2010, 06:09
Re: [HELP] Can't save stats - by Maxips2 - 10.06.2010, 11:13
Re: [HELP] Can't save stats - by DJDhan - 10.06.2010, 11:31
Re: [HELP] Can't save stats - by Assyria - 10.06.2010, 12:01
Re: [HELP] Can't save stats - by Jakku - 10.06.2010, 17:30
Re: [HELP] Can't save stats - by PotH3Ad - 10.06.2010, 17:39
Re: [HELP] Can't save stats - by Jakku - 10.06.2010, 17:41
Re: [HELP] Can't save stats - by [GOD]Dragonster82 - 30.08.2011, 08:40

Forum Jump:


Users browsing this thread: 2 Guest(s)