ForForce

Parameters
whichForce force
callback code
comment

Executes a callback function for every player in a given force. Within the callback, calling GetEnumPlayer returns the player of the current iteration.

note:

The iteration order is given by the player id, ascending (e.g., Player(3), then Player(7), then Player(15)) regardless in which order the players were added to the force.

patch

1.00

Source
common.j
return type
nothing
Source code
native ForForce                 takes force whichForce, code callback returns nothing