Garry's Mod Wiki

History for team.NumPlayers

Revision Difference

team.NumPlayers#523912

<function name="NumPlayers" parent="team" type="libraryfunc"> <description>Returns the amount of players in a team.</description> <file line="129-L133">lua/includes/modules/team.lua</file> <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>

Special Pages


Wikis

?

Render Time: 60ms

DB GetPage 47
Get RevNew 1
Get RevOld 3
Render Body 0
Render Sidebar 7