SA-MP Forums Archive
warning 203: symbol is never used: "DisableInteriorExitExits" - 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: warning 203: symbol is never used: "DisableInteriorExitExits" (/showthread.php?tid=347005)



warning 203: symbol is never used: "DisableInteriorExitExits" - Shepherd- - 30.05.2012

Hello, anyone seen this before? Cant seem to find anyone else with a problem like this by searching both forums and the interwebs.

Код:
warning 203: symbol is never used: "DisableInteriorExitExits"
It's correctly placed under
Код:
public OnGameModeInit()
First pawno said it was undefined, i added this just to see if it would work
Код:
new DisableInteriorExitExits;
Now i get this warning and it doesn't remove any of the default entrances.

Any ideas?


Re: warning 203: symbol is never used: "DisableInteriorExitExits" - Azazelo - 30.05.2012

did you put include <a_samp> ? In you code ?

and did you maybe think
Quote:

DisableInteriorEnterExits()




Re: warning 203: symbol is never used: "DisableInteriorExitExits" - leonardo1434 - 31.05.2012

it should be like this.

pawn Код:
#include <a_samp>

public OnGameModeInit()
{  
   DisableInteriorEnterExits();  // is not needed create a " new "
}



Re: warning 203: symbol is never used: "DisableInteriorExitExits" - ViruZz - 31.05.2012

[pawno]
DisableInteriorExitExits
[/pawn]

Does not exist

Its
pawn Код:
DisableInteriorEnterExits
If the problem still occurs then check if you have <a_samp> in your includes at the top of your script

If it still occurs then DisableInteriorEnterExits isn't being used.