Garry's Mod Wiki

team.GetPlayers

team.GetPlayers

table team.GetPlayers( number teamIndex )

Description

Returns a table with all player of the specified team.

Arguments

1 number teamIndex
The team index.

Returns

1 table
A table of Players that belong to the requested team.

Example

Prints all the players in a player's team.

Output: List of players.

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6