Foreach - 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: Foreach (
/showthread.php?tid=660683)
Foreach -
KinderClans - 10.11.2018
I'm having some problems compiling a new.pwn.
Quote:
foreach.inc(193) : error 017: undefined symbol "_FOREACH_CUR_VERSION"
warning 203: symbol is never used: "USE@YSI_Data@y_iterate"
|
Includes:
Quote:
#include <a_samp>
#include <a_mysql>
#include <sscanf2>
#include <streamer>
#include <colors>
#include <izcmd>
#include <foreach>
|
What's wrong?
Re: Foreach -
K0P - 10.11.2018
Get the Kar's version of foreach.Try it and tell me
https://sampforum.blast.hk/showthread.php?tid=570868
Re: Foreach -
KinderClans - 10.11.2018
It's what i'm using...the Kar's version.
Re: Foreach -
lollypap54 - 10.11.2018
Maybe try #define _FOREACH_NO_TEST before including <foreach>? idk if that will work xd
Re: Foreach -
KinderClans - 10.11.2018
It works.
Re: Foreach -
KinderClans - 10.11.2018
Quote:
Originally Posted by ******
The warning was:
"USE@YSI_Data@y_iterate"
Meaning you should use:
YSI_Data\y_iterate
Not whatever years old version you have there.
|
The includes i'm using are this:
https://github.com/pawn-lang/YSI-Includes/tree/5.x
Are those recent enough?
I'm not using any "years old" version...
Re: Foreach -
Spawe - 10.11.2018
replace #include <foreach> by #include <YSI\y_iterate> - you need the new version of YSI