GetCrewCount

Category: Objects / Crew
Since engine version: 1.0 OC

Description

Returns the number of crew members of a player.

Syntax

int GetCrewCount(int player);

Parameter

player:
Player number of the player whose crew members you want to count.

Example

while (GetCrewCount(0) > 3) Kill(GetHiRank(0));
Keeps killing the highest ranking clonk of the first player until the player has only three clonks left.
See also: GetCaptain, GetCrew, GetCursor, GetHiRank
Sven2, 2002-05