Disable ? - 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: Disable ? (
/showthread.php?tid=112517)
Disable ? -
Lajko1 - 08.12.2009
why when i try to DisableInteriorExits or what ever it is i put this under OnGameModeInit but it say Error: Undefined symbol DisableInteriorExits ? why this o.O
ty
Re: Disable ? -
Balon - 08.12.2009
From
a_samp.inc.
pawn Код:
native DisableInteriorEnterExits(); // will disable all interior enter/exits in the game.
Re: Disable ? -
Gappy - 08.12.2009
You have to add
pawn Код:
DisableInteriorEnterExits();
not just
pawn Код:
DisableInteriorEnterExits
Re: Disable ? -
Lajko1 - 08.12.2009
Quote:
Originally Posted by Gappy
You have to add
pawn Код:
DisableInteriorEnterExits();
not just
pawn Код:
DisableInteriorEnterExits
|
i know , ty for try
amm @where i put this native DisableInteriorEnterExits ? i try under gamemode init and still errors ... i try under on player connect and i get errors i try top of script no errors but dont work lol
Re: Disable ? -
Correlli - 08.12.2009
All you have to do is this:
pawn Код:
public OnGameModeInit()
{
DisableInteriorEnterExits();
return 1;
}
Re: Disable ? -
Lajko1 - 08.12.2009
Quote:
Originally Posted by Don Correlli
All you have to do is this:
pawn Код:
public OnGameModeInit() { DisableInteriorEnterExits(); return 1; }
|
i do but
Код:
C:\Documents and Settings\samp\Desktop\Server2\gamemodes\Jefferson.pwn(99) : error 017: undefined symbol "DisableInteriorEnterExits"
Re: Disable ? -
Malice - 08.12.2009
Did you include a_samp?
Re: Disable ? -
Lajko1 - 09.12.2009
ye ofc,any other help ?