SA-MP Forums Archive
how to script reset to orginal money - 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: how to script reset to orginal money (/showthread.php?tid=119341)



how to script reset to orginal money - gozo12 - 07.01.2010

hi . how to script this . example player A have 1340 $ when he used cheat and he insert 1000$ in his money ans then his money is 2340$

server can reset his money to orginal and make / reset it to 1340 $


Re: how to script reset to orginal money - John Rockie - 07.01.2010

I Know what you mean but i have no idea how to make it


Re: how to script reset to orginal money - adsy - 07.01.2010

https://sampwiki.blast.hk/wiki/ResetPlayerMoney

maybe that might help?

the only thing i can think of otherwise would be using a database to store all transactions and to use the onplayerupdate feature to recall from the database the last database cash change. (might be able to use a file to store that sort of info but i dont know that much about scripts yet, trying to learn though)


Re: how to script reset to orginal money - Emmet_ - 08.01.2010

I think your talking about Server Side money, but to script your own, it takes some skill.