foreach in cikle - 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 in cikle (
/showthread.php?tid=510359)
foreach in cikle -
audriuxxx - 30.04.2014
Hi,
Can i do for ex:
Code:
for(new i = 0; i < MAX_PLAYERS; i ++)
{
foreach(wx : Player)
{
}
}
It'is not important what is where will be doing, just can i do foreach cikle in simple cikle?
Re: foreach in cikle -
Luis- - 30.04.2014
What's the point in doing a loop twice? Would use a lot of server resources.