GetCrew

Category: Objects / Crew
Since engine version: 4.6.5.0 CP

Description

Returns the indicated crew member of a player.

Syntax

object GetCrew (int iPlayer, int iIndex);

Parameters

iPlayer:
Player number of the player whose crew member will be returned.
iIndex:
Crew index of the clonk

Example

var i=GetCrewCount(0); while (i--) Kill(GetCrew(0, i));
Kills all crew members of the first player.
See also: GetCaptain, GetCrewCount, GetCursor, GetHiRank
Sven2, Mai 2002