Money bug-ish thing. - 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: Money bug-ish thing. (
/showthread.php?tid=446832)
Money bug-ish thing. -
GGRoleplay - 27.06.2013
Well, I've added a filterscript for a trucker job, everytime they complete it they get $250, but why does the server remove it after its been added again? So they won't get any money.
Pastebin of the script:
http://pastebin.com/index.php?e=1
Re: Money bug-ish thing. -
Anak - 27.06.2013
what you mean actually?
Re: Money bug-ish thing. -
Akira297 - 27.06.2013
Your pastebin link is broken. To also add, does your server have a anti-cash hack? You should check the FS and make sure it uses the same Cash Value as your server does.
Re: Money bug-ish thing. -
-CaRRoT - 27.06.2013
Add the cash to your money-variable.
Example :
PHP код:
PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]+250;
Re: Money bug-ish thing. -
Macluawn - 27.06.2013
That wont work. Variables arent shared between a gamemode and filterscripts.