Is it possible to change something from Singe Player - 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: Is it possible to change something from Singe Player (
/showthread.php?tid=314549)
Is it possible to change something from Singe Player -
milanosie - 30.01.2012
Like, is it possible to change Pay and Spray price?
Re: Is it possible to change something from Singe Player -
Babul - 30.01.2012
argh OnVehicleRespray wont work ><
by using serversided money, you can compare the vehicle health (status), plus when the players money difference is $100, then you can depend 99% that the car got resprayed
Re: Is it possible to change something from Singe Player -
Konstantinos - 30.01.2012
You can have a timer that checks every second if a player is in range with the Pay Spray and check the money if the money is less after a second then give/take money from that player.
OR
I am not sure about this,
OnPlayerUpdate to check if the money is less than the money player had to check if is in range and give/take money.