Posts: 105
Threads: 10
Joined: Jul 2014
Reputation:
0
Hi, searched alot about this couldn't find a good answer.
Is there any efficient way of changing pay n spray price?. OnVehicleRespray calls in mod shops so i didn't bother using that.
Help well be very much appreciated
Posts: 329
Threads: 54
Joined: Sep 2012
Reputation:
0
I think it is not possible but....
An idea:
Get the player cash before they enter the Pay N Spray and store it in a variable.
Then, when the player exits the Pay N Spray give them their money back but add (+) or rest (-) to the desired ammount.
Hope it helps.
Posts: 105
Threads: 10
Joined: Jul 2014
Reputation:
0
how would to figure out if player is inside a pns?
Posts: 329
Threads: 54
Joined: Sep 2012
Reputation:
0
Use OnEnterExitModShop callback
Posts: 105
Threads: 10
Joined: Jul 2014
Reputation:
0
But aren't they used for Mod shops?, like Trasnfender and such?
Posts: 329
Threads: 54
Joined: Sep 2012
Reputation:
0
Maybe, Haven't used that callback
Another way would be using IsPlayerInRangeOfPoint, just get the coords of the Pay n Spray and play around with that function.