team.AddScore

From GMod Wiki

Revision as of 14:45, 22 October 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax team.AddScore( Integer TeamIndex, Integer ScoreAdd )
Where is this used?
Description:
Adds Score for a team. Can also be negative if you want to substract Score.
Returns: nil
Part of Library: Team
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Team.AddScore]Team.AddScore [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionAdd 10 Score for Team num 1
Used onNewerServer.png
Code
team.AddScore (1, 10)
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox