SA-MP Forums Archive
How to edit prices for Pay 'n' Spray and a Sprunk - 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: How to edit prices for Pay 'n' Spray and a Sprunk (/showthread.php?tid=520087)



How to edit prices for Pay 'n' Spray and a Sprunk - kevin_1991 - 17.06.2014

Hello, I want to know how to change prices of ingame Pay 'N' Spray's and Sprunk's

it cost now 1 dollar and you get the 1 dollar back

I want to change that does someone know how ?

i tryed some things from samp forums but i get to many errors and there is no way to fix that.


Re : How to edit prices for Pay 'n' Spray and a Sprunk - S4t3K - 17.06.2014

For the PayNSpray, try the callback the OnVehicleMod's fix callback.

For the "sprunks", I actually don't know but if you get the position of all the spruks on the map, you can take from player money once he hits "KEY_ACTION" near (~1.0 radius) of a sprunk.