SA-MP Forums Archive
Need a callback.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need a callback.. (/showthread.php?tid=193784)



Need a callback.. - The_Moddler - 27.11.2010

What is the name of the callback that get's called when a player enters a Pay'n'Spray?

I tryied OnVehicleMod, OnVehiclePaintjob and OnVehicleRespray but no success..


Re: Need a callback.. - [MWR]Blood - 27.11.2010

No such one I guess?


Re: Need a callback.. - Mauzen - 27.11.2010

Those only work in the modshop, but unfortunately not in the pay'n'spray. You can create a callback for that yourself, with IsPlayerInRangeOfPoint, but there is no way to get the new color of the vehicle.


Re: Need a callback.. - The_Moddler - 27.11.2010

No.. I don't need the color :P, it's for an anti-cheat that I'm making.. thanks.