Dini money saving problem dini_IntSet(Account - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dini money saving problem dini_IntSet(Account (
/showthread.php?tid=272780)
How to save Money when player leaves server? -
liinor - 29.07.2011
I have problem with saving money i had tryed to save my money by using this under on player disconnect
dini_IntSet(AccountFile,"Money",GetPlayerMoney(pla yerid)); //on player disconnect
and i have this under on player spawn
SetPlayerMoney(playerid, dini_Int(AccountFile,"Money")); //on player spawn
and it loads money like it should load.
Re: Dini money saving problem dini_IntSet(Account -
liinor - 10.08.2011
problem already solved