GetCrewCount

Category: Objects / Crew
Since engine version: 4.6.5.0 CP

Description

Returns the number of crew members of a player.

Syntax

int GetCrewCount (int iPlayer);

Parameter

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

Example

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