Category: Objects
/ Crew
Since engine version: 1.0 OC
GetCrew
Description
Returns the indicated crew member of a player. For an invalid index
nil
is returned.Syntax
object GetCrew(int player, int index);
Parameters
- player:
- Player number of the player whose crew member will be returned.
- index:
- Crew index of the clonk.
Example
var i=GetCrewCount(0); while (i--) Kill(GetCrew(0, i));
Kills all crew members of the first player.