SA-MP Forums Archive
Enterable buildings on a blank gamemode - 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: Enterable buildings on a blank gamemode (/showthread.php?tid=311651)



Enterable buildings on a blank gamemode - povo - 17.01.2012

Hi,

I've encountered a stupid problem which is that things like the LV Gun store and casinos are open in Las Venturas, meaning they can be entered.

My server is running an empty gamemode which I made from scratch so it's not the game mode. I also don't use any filterscripts so it's not them either.

How can I remove those enter markers?



Thanks in advance.


Re: Enterable buildings on a blank gamemode - Dokins - 17.01.2012

pawn Код:
DisableInteriorEnterExits();
Add that under
pawn Код:
OnGameModeInit



Re: Enterable buildings on a blank gamemode - povo - 17.01.2012

Thanks a bunch! I was literally deleting every strange file in my server folder after being confused for a few days!