Blockland Forums > Modification Help

Cycling through all the clients.

Pages: (1/1)

Daenth:

How would you cycle through all the clients? I know it would involve a for statement, but what would be after that?

MegaScientifical:


--- Code: --- for (%c = 0; %c < ClientGroup.getCount(); %c++) {
%client = ClientGroup.getObject(%c);
//doStuff
}
--- End code ---


Pages: (1/1)

Go to full version