SA-MP Forums Archive
undefined symbol Iter_Single - 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: undefined symbol Iter_Single (/showthread.php?tid=634951)



undefined symbol Iter_Single - czop1223 - 29.05.2017

I'm trying to use y_iterate for Vehicles. So what I did was:

new Iterator:Vehicles[MAX_VEHICLES];

Then when adding the vehicle

Iter_Add(Vehicles, gameid);

i get these errors

error 017: undefined symbol "Iter_Single@Vehicles"
error 017: undefined symbol "Iterator@Vehicles"

at the Iter_Add line

how do I fix it? Weird


Re: undefined symbol Iter_Single - SyS - 29.05.2017

new Iterator:Vehicles<MAX_VEHICLES>