Revision Difference
team.NumPlayers#511797
<function name="NumPlayers" parent="team" type="libraryfunc">⤶
<description>Returns the amount of players in a team.</description>⤶
<realm>Shared</realm>⤶
<args>⤶
<arg name="teamIndex" type="number">The team index.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="number">playerCount</ret>⤶
</rets>⤶
</function>⤶
⤶
<example>⤶
<description>Prints the amount of players in a player's team</description>⤶
<code>print(team.NumPlayers(ply:Team()))</code>⤶
<output>The number of players in ply's team.</output>⤶
⤶
</example>