Undefined symbol - 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: Undefined symbol (
/showthread.php?tid=152795)
Undefined symbol -
GangsTa_ - 05.06.2010
Hi when I try to make teams and use the array/reason [MAX_PLAYERS] it keeps telling Undefined symbol MAX_PLAYERS whats the prob here?
Re: Undefined symbol -
Backwardsman97 - 05.06.2010
Did you ever
#undef it or not put
#include <a_samp> at the top?
Re: Undefined symbol -
GangsTa_ - 05.06.2010
When i write #undef at the top it gets an error like Undefined symbol main (from OnFilterScriptInit)
Re: Undefined symbol -
Backwardsman97 - 05.06.2010
No. I'm asking did you ever undefine it like this?
Re: Undefined symbol -
Conroy - 05.06.2010
Make sure you are declaring the array below
#include <a_samp>
Re: Undefined symbol -
GangsTa_ - 06.06.2010
Nice, working now ^^
Case closed - /lock