WoW API: GetLanguageByIndex

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetLanguageByIndex to API GetLanguageByIndex without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetLanguageByIndex

Returns the language specified by the index that your character can speak.

Language = GetLanguageByIndex(index)

ParametersEdit

ArgumentsEdit

index
index
Numeric - The index starting at 1.

ReturnsEdit

Language
Language
String - Returns the language specified by the index that your character can speak.

ExampleEdit

for x=1, GetNumLanguages() do
  DEFAULT_CHAT_FRAME:AddMessage(GetLanguageByIndex(x))
end

See alsoEdit