Garry's Mod Wiki

Garry's Mod Wiki

  number team.GetScore( number teamIndex )

Description

Returns the score of the team.

Arguments

1 number teamIndex
The team index.

Returns

1 number
score

Example

Get's the teams score, can be a number 1 or 2 depending on how many teams you've set up.

print(team.GetScore(ply:Team()),team.GetScore(1))
Output: 1

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...