team.GetScore

From GMod Wiki

Jump to: navigation, search
Function
Syntax team.GetScore( Number TeamIndex )
Where is this used?
Description:
Gets a Teams score.
Returns: Number TeamScore
Part of Library: Team
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Team.GetScore]Team.GetScore [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionGet Team 1's Score
Used onNewerShared.png
Code
Msg(team.GetScore(1))
OutputTeam 1's Score


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox