SA-MP Forums Archive
Y_Groups Iterator:Group(Group:group) - 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: Y_Groups Iterator:Group(Group:group) (/showthread.php?tid=484658)



Y_Groups Iterator:Group(Group:group) - Crayder - 31.12.2013

Ok, I thought this iterator was for using in loops... But when I do, ..."

I get these errors, all related to the line, "foreach(Group, i)":
Quote:

C:\Program Files\Rockstar Games\SA-MP Servers\New Gamemode\gamemodes\hgames.pwn(480) : error 072: "sizeof" operator is invalid on "function" symbols
C:\Program Files\Rockstar Games\SA-MP Servers\New Gamemode\gamemodes\hgames.pwn(480) : error 028: invalid subscript (not an array or too many subscripts): "Group@YSII_Ag"
C:\Program Files\Rockstar Games\SA-MP Servers\New Gamemode\gamemodes\hgames.pwn(480) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\SA-MP Servers\New Gamemode\gamemodes\hgames.pwn(480) : fatal error 107: too many error messages on one line

Is it even used for looping?