team.SetScore

From GMod Wiki

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



Example

DescriptionSet Team 1's Score to 10
Used onNewerServer.png
Code
team.SetScore(1,10)
OutputTeam 1's Score


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox