Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 4
Generate Html 12
SaveChanges 11
Render Body 0
Render Sidebar 7