SA-MP Forums Archive
How can I loop through objects? - 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: How can I loop through objects? (/showthread.php?tid=448338)



How can I loop through objects? - RALL0 - 04.07.2013

Hey guys, I wonder how can I loop through objects.
Example codes
pawn Код:
Object 1 = CreateObject....
Object 2 = CreateObject....
etc.



Re: How can I loop through objects? - RALL0 - 04.07.2013

I don't get it..


Re: How can I loop through objects? - RALL0 - 04.07.2013

Like this?
pawn Код:
for(new i;i <sizeof(Object);i++)
    {
    }