SA-MP Forums Archive
How can i disable, all the buy stuff, and standard enter points - 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 can i disable, all the buy stuff, and standard enter points (/showthread.php?tid=353794)



How can i disable, all the buy stuff, and standard enter points - CrazyChoco - 24.06.2012

How can i disable, all the buy stuff, and standard enter points

The buy stuff like in weapon shop, i wanna create my own and disable the standard checkpoints
but how`?


Re: How can i disable, all the buy stuff, and standard enter points - CrazyChoco - 24.06.2012

Anyone, please i need it quick somehow.. :P


Re: How can i disable, all the buy stuff, and standard enter points - Grand_Micha - 24.06.2012

As far as I know, you can set a player's virtual world to something else and their AmmuNation markers will be disabled. Not sure, though.

To disable the entry markers: OnGameModeInit -> DisableInteriorEnterExits();


Re: How can i disable, all the buy stuff, and standard enter points - CrazyChoco - 24.06.2012

Ty, but im not sure, because shall i map the ammu then?


Re: How can i disable, all the buy stuff, and standard enter points - Grand_Micha - 24.06.2012

If you add that line to your script, every yellow marker (CJ's house, Cluckin' Bell, Well-Stacked Pizza joints etc.) will disappear and you will have to script your own pick-ups.
The checkpoint in the AmmuNation can be removed. I did it once, but I forgot how. I suggest you fiddle with SetPlayerVirtualWorld and SetPlayerInterior, then you'll get it.


Re: How can i disable, all the buy stuff, and standard enter points - CrazyChoco - 24.06.2012

okai, thanks