team.GetScore

From Garry's Mod
Jump to: navigation, search
 team.GetScore( )

Contents

Description

Returns the score of the team.

Arguments

number teamIndex

The team index.

Returns

number

score

Examples

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
Personal tools
Navigation