SA-MP Forums Archive
How to disable Single Player stuff? - 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 disable Single Player stuff? (/showthread.php?tid=288600)



How to disable Single Player stuff? - Ehab1911 - 08.10.2011

Hey,

My script is facing a problem which bans every player that buy something for example from Single player AMMUNATION guy.

When they enter an interior they stand in the ammunation to buy guns but there is a pickup for the server-sided guns. How can I disable that NPC and checkpoint that shows in the Ammu-Nation?

Thank you!


Re: How to disable Single Player stuff? - .:Kaos:. - 08.10.2011

You can disable the enter/exits by using
Код:
DisableInteriorEnterExits();
Although, if you want to have businesses enterable, you will have to make your own with /enter or /exit commands.