Bugged bank system. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bugged bank system. (
/showthread.php?tid=597696)
[fixed]Bugged bank system. -
aimane65 - 03.01.2016
fixed
Re: Bugged bank system. -
K9IsGodly - 03.01.2016
I don't use dini but are you making sure to save whatever variable you have as the player's money under OnPlayerDisconnect?
You could also make a function to save the player's data everytime they make a deposit or withdrawal etc.
Re: Bugged bank system. -
aimane65 - 03.01.2016
Quote:
Originally Posted by K9IsGodly
I don't use dini but are you making sure to save whatever variable you have as the player's money under OnPlayerDisconnect?
You could also make a function to save the player's data everytime they make a deposit or withdrawal etc.
|
Thanks for the tip +1 rep