SA-MP Forums Archive
Close ammunation, pizza store and chicken store - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Close ammunation, pizza store and chicken store (/showthread.php?tid=72513)



Close ammunation, pizza store and chicken store - Grand - 09.04.2009

[play in SAMP server] I want close the door to ammunation, pizza store and chicken store
but i can't close door Please help me!

Don't you understand my speak?
i am bad at English -0-...


Re: Close ammunation, pizza store and chicken store - DMSOrg - 09.04.2009

pawn Code:
OnGameModeInit()
{
  DisableInteriorEnterExit(1);
  return 1;
}



Re: Close ammunation, pizza store and chicken store - MenaceX^ - 09.04.2009

I think your code would able the interiors.. I always used this.
DisableInteriorEnterExit();
I know it does it for sure, never tested it with
DisableInteriorEnterExit(1/0);
Use my code althought I think the array with 1 would open it.


Re: Close ammunation, pizza store and chicken store - DMSOrg - 09.04.2009

Well it says disable and 1 is the code for true so if you put them together it basically denotes "disable true" whereas with 0 it would denote "disable false", which reciprocally would be "enable true" so I think that 1 might be correct...

wow that was an insight...