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: Money (
/showthread.php?tid=219127)
Money -
Matej_ - 31.01.2011
Is it possible to make that you can't go over -
Like you can't have -1000$ etc...
How to make that if you have -$$$$$ it sets your money back to 0000000000$ ?
Re: Money -
dice7 - 31.01.2011
Use a timer to constantly check the players money.
Or use server sided money (saving it in variables) and check the quantity before using GivePlayerMoney
Re: Money -
Marricio - 31.01.2011
example:
pawn Код:
if (GetPlayerMoney(playerid) < 0)
idk if it works but try it on a code