team.AddScore
From GMod Wiki
| 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: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Team.AddScore]Team.AddScore [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Add 10 Score for Team num 1 |
|---|---|
| Used on | |
| Code | team.AddScore (1, 10) |
| Output | N/A |