<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>GetCrewCount</title>
    <category>Objects</category>
    <subcat>Crew</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>int</rtype>
      <params>
        <param>
          <type>int</type>
          <name>player</name>
          <desc>Player number of the player whose crew members you want to count.</desc>
        </param>
      </params>
    </syntax>
    <desc>Returns the number of crew members of a player.</desc>
    <examples>
      <example>
        <code><funclink>while</funclink> (<funclink>GetCrewCount</funclink>(0) &gt; 3) <funclink>Kill</funclink>(<funclink>GetHiRank</funclink>(0));</code>
        <text>Keeps killing the highest ranking clonk of the first player until the player has only three clonks left.</text>
      </example>
    </examples>
    <related>
      <funclink>GetCrew</funclink>
      <funclink>GetHiRank</funclink>
      <funclink>GetCursor</funclink>
      <funclink>GetCaptain</funclink>
    </related>
  </func>
  <author>Sven2</author><date>2002-05</date>
</funcs>
