Error 017: undefined symbol "foreach" - Keep Reading - 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: Error 017: undefined symbol "foreach" - Keep Reading (
/showthread.php?tid=493282)
RESOLVED -
Aerotactics - 07.02.2014
RESOLVED
Re: Error 017: undefined symbol "foreach" - Keep Reading -
BarFix - 07.02.2014
Can you show us the code please?
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Aerotactics - 07.02.2014
Updated, sorry.
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Abagail - 07.02.2014
Try foreach(Player, i), don't forget your brackets. Good luck!
Re: Error 017: undefined symbol "foreach" - Keep Reading -
ColeMiner - 07.02.2014
The syntax in the first post is much better. The only reason I can think of to get that error is that you have a VERY old version - re-download the latest version of the include.
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Aerotactics - 07.02.2014
Quote:
Originally Posted by Abagail
Try foreach(Player, i), don't forget your brackets. Good luck!
|
OK that did it. Getting new errors though, brb.
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Abagail - 07.02.2014
Post the errors.
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Aerotactics - 07.02.2014
Getting a new error posted, and that error comes from inside the Y-ini.inc (I blame Y-less haha jk)
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Equuuuin0X - 07.02.2014
did you put
#include <YSI/y_ini>
or
#include <YSI\y_ini>
Re: Error 017: undefined symbol "foreach" - Keep Reading -
Aerotactics - 07.02.2014
Quote:
Originally Posted by Equuuuin0X
did you put
#include <YSI/y_ini>
or
#include <YSI\y_ini>
|
Код:
#include <YSI/y_ini>
but I don't think that's the problem.
The error exists in the YSI directory I believe.