LuaAPI.wiki
changeset 1218 344aa78491f6
parent 1217 dcd14c9ccd2f
child 1219 b467502126fd
equal deleted inserted replaced
1217:dcd14c9ccd2f 1218:344aa78491f6
  1164 the fort “Tank” the voicepack “Default” and the flag “hedgewars”. ]]</code>
  1164 the fort “Tank” the voicepack “Default” and the flag “hedgewars”. ]]</code>
  1165 
  1165 
  1166 ==== <tt>!GetTeamName(teamIdx)</tt> (0.9.24) ====
  1166 ==== <tt>!GetTeamName(teamIdx)</tt> (0.9.24) ====
  1167 Returns the name of the team with the index `teamIdx`. `teamIdx` is a number between 0 and `TeamsCount-1`.
  1167 Returns the name of the team with the index `teamIdx`. `teamIdx` is a number between 0 and `TeamsCount-1`.
  1168 
  1168 
  1169 ==== <tt>!GetTeamName(teamname)</tt> (0.9.24) ====
  1169 ==== <tt>!GetTeamIndex(teamname)</tt> (0.9.24) ====
  1170 Returns the team index (number between 0 and `TeamsCount-1`) of the team with the name `teamName`.
  1170 Returns the team index (number between 0 and `TeamsCount-1`) of the team with the name `teamName`.
  1171 
  1171 
  1172 ==== <tt>!GetTeamClan(teamname)</tt> (0.9.24) ====
  1172 ==== <tt>!GetTeamClan(teamname)</tt> (0.9.24) ====
  1173 Returns the clan ID of the team with the given `teamName`.
  1173 Returns the clan ID of the team with the given `teamName`.
  1174 
  1174