Team Functions

From Hopmod Wiki

Jump to: navigation, search
Name and Parameters Return Value Description
server.teams() table Returns an array of team names.
server.team_players(team) table Returns an array of CNs for all players on the specified team.
server.team_score(team) number
server.team_win(team) boolean Has the highest score of all the teams
server.team_draw(team) boolean Score is equal to the scores of all the other teams. TODO: remove argument.
Personal tools