SA-MP Forums Archive
How to remove native doors? - 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 remove native doors? (/showthread.php?tid=498101)



How to remove native doors? - Baines - 02.03.2014

Hey guys,

I am trying to make a RP script from scratch right now, I just started the other day. But, I don't know how I can remove those native "doors", like the entrance point to LSPD, so I can actually create a "Dynamic Door" for such points. Does anyone of you know how I can get rid of the yellow checkpoint in the picture below and make it so you don't go inside the LSPD once you enter?



Thanks in advance!


Re: How to remove native doors? - TLN - 02.03.2014

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}



Re: How to remove native doors? - Baines - 02.03.2014

Worked, thank you!