score & money sometimes doesn't save
#10

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
I still have this problem.
But I think...
(public onplayerdisconnect)


should be



right?

Need help asap..
No this not right, the script wont know how many money got in his HAND unless you add it as in your commands [GivePlayerMoney = PlayerInfo[playerid][Money] keep the GetPlayerMoney, but it's a known issue when you crash(disconnect) or restart the server the player's stats wont save somehow, what I did is creating a timer on player request spawn which will start saving all stats each one second, which will make the chance of losing data is 1%.
Reply


Messages In This Thread
score & money sometimes doesn't save - by Uberanwar - 09.11.2013, 02:57
Re: score & money sometimes doesn't save - by Crayder - 09.11.2013, 03:15
Re: score & money sometimes doesn't save - by Uberanwar - 09.11.2013, 05:13
Re: score & money sometimes doesn't save - by Uberanwar - 15.11.2013, 15:38
Re: score & money sometimes doesn't save - by XStormiest - 15.11.2013, 16:09
Re: score & money sometimes doesn't save - by Uberanwar - 15.11.2013, 16:54
Re: score & money sometimes doesn't save - by Tuntun - 15.11.2013, 17:01
Re: score & money sometimes doesn't save - by Uberanwar - 15.11.2013, 17:34
Re: score & money sometimes doesn't save - by Reera - 15.11.2013, 18:40
Re: score & money sometimes doesn't save - by DaniceMcHarley - 16.11.2013, 06:54

Forum Jump:


Users browsing this thread: 1 Guest(s)