Posts: 411
Threads: 36
Joined: Jul 2007
Reputation:
0
Hey guys i did some searching but no luck i am using Evo's Vehicle System Filterscript and for some reason the GivePlayerMoney doesnt seem to be working. you but something it just resets your money. doesnt take any away
ie. when you buy a car the money gets taken away and then straight away it goes back to what you had. so therefore your getting the car for free lol
someone help?
Posts: 1,498
Threads: 101
Joined: Feb 2013
Reputation:
0
try and use GivePlayerCash
Posts: 411
Threads: 36
Joined: Jul 2007
Reputation:
0
undefined symbol, when you buy a car it takes the money but straight away it refills itself back to what you had before purchasing the car lol?
Posts: 222
Threads: 35
Joined: Apr 2008
Reputation:
0
So, if I understand it correctly you got a gamemode and a filterscript for the money part? Because in that case it sounds like there is an anti-moneycheat in your main script what works like this:
- The amount of money you have is stored in a variable.
- In a timer a loop checks wether the amount of money ( GetPlayerMoney ) is different.
- If different the money will be reset ( ResetPlayerMoney ).
- It will give the amount of money what's stored in the variable.
If that's the case you should either remove the filterscript and just taking care of money in the main script or you should use PVars ( SetPVarInt & GetPVarInt. ).
Best regards,
Jesse