SA-MP Forums Archive
Enterable shops? - 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 shops? (/showthread.php?tid=336763)



Enterable shops? - HazardGaming - 23.04.2012

Hello,

I made a blank script and for some reason it makes enterable shops? How can I stop this..

Like in SP, you get those yellow arrows and if you walk in it you can enter it..

I wanna stop this.

Thanks.


Re: Enterable shops? - Calgon - 23.04.2012

Use the DisableInteriorEnterExits() function in OnGameModeInit.

Example from the wiki:
pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}



Re: Enterable shops? - HazardGaming - 23.04.2012

Thanks.