SA-MP Forums Archive
Disable Paint/Mod..Possible??? - 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: Disable Paint/Mod..Possible??? (/showthread.php?tid=231225)



Disable Paint/Mod..Possible??? - YungGee - 25.02.2011

Is there a way to disable to paint/mod shops?

If so may someone explain how to please?


Re: Disable Paint/Mod..Possible??? - Calgon - 25.02.2011

https://sampwiki.blast.hk/wiki/OnEnterExitModShop
https://sampwiki.blast.hk/wiki/OnVehicleMod

You can use the callback [OnEnterExitModShop] to teleport a player back out of the modshop, and prevent use the OnVehicleMod callback to reverse vehicles being modified if the interior the vehicle is in isn't 0.