1
0

Added GetTeamNames to cScoreboard (#3217)

Resolves #3210
This commit is contained in:
PlasmaPower
2016-05-29 11:12:18 -06:00
committed by Mattes D
parent bac71cb513
commit b4d9732fe9
6 changed files with 64 additions and 0 deletions

View File

@@ -2184,3 +2184,16 @@ end
function HandleTeamsCmd(a_Split, a_Player)
local Scoreboard = a_Player:GetWorld():GetScoreBoard()
a_Player:SendMessage("Teams: " .. table.concat(Scoreboard:GetTeamNames(), ", "))
return true
end