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: 82ms

DB GetPage 49
Generate Html 8
SaveChanges (1) 10
Render Body 0
Render Sidebar 13