Posts: 73
Threads: 27
Joined: Oct 2010
Reputation:
0
... Make it so when the player buy something from, Pay n' Spray, or the Mod Shop, or Gambles, it gives their money back?
Posts: 308
Threads: 17
Joined: Mar 2010
Reputation:
0
Not sure about the ModShop or Casinos but you could give the person 100 dollars through OnVehicleRespray or OnVehiclePaintJob
Posts: 6,129
Threads: 36
Joined: Jan 2009
Store a serverside variable which has their valid money count (which actually helps prevent money-cheating) and then when their clientside money value changes, return it back to what the server has stored.
Look for a tutorial on it, I think I've seen a few relating to this small topic. It's just a few lines of code.
Posts: 601
Threads: 74
Joined: Sep 2009
Reputation:
0
but then you couldnt change it via GivePlayerCash aswel. it just would reset