SA-MP Forums Archive
disable everything except gta map - 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: disable everything except gta map (/showthread.php?tid=636071)



disable everything except gta map - fiha4155 - 19.06.2017

How can I disable everything except gta map? Like disabling payn&sprays, mod shops, vending machines etc.


Re: disable everything except gta map - Sew_Sumi - 19.06.2017

vending machine remove the object, for the mod shops you've got to block them off with objects.


Re: disable everything except gta map - fiha4155 - 19.06.2017

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
vending machine remove the object, for the mod shops you've got to block them off with objects.
thanks


Re: disable everything except gta map - Spmn - 20.06.2017

I've never tried to disable modshops and pay'n'sprays, but I think they can be deactivated by removing and recreating them using CreateObject. It'll either work or crash the client.


Re: disable everything except gta map - Sew_Sumi - 21.06.2017

Quote:
Originally Posted by Spmn
Посмотреть сообщение
I've never tried to disable modshops and pay'n'sprays, but I think they can be deactivated by removing and recreating them using CreateObject. It'll either work or crash the client.
People just put blockages over front of them. It's much easier than dealing with crashes and such.

Just check that the modshop/paintshop callbacks aren't triggered, and if they are, the player is either desync or hacking.