Garry's Mod Wiki

team.GetScore

  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