WoW:API GetLanguageByIndex: Difference between revisions
Jump to navigation
Jump to search
m (GetNumLaguages became GetNumLanguages) |
m (→See also: The "Info" section as it was isn't really necessary.) |
||
Line 23: | Line 23: | ||
end | end | ||
== | == See also == | ||
* [[API GetNumLanguages|GetNumLanguages()]] - Returns the number of languages your character can speak. | |||
Revision as of 07:21, 27 January 2010
← WoW API < GetLanguageByIndex
Returns the language specified by the index that your character can speak.
Language = GetLanguageByIndex(index)
Parameters
Arguments
- index
- index
- Numeric - The index starting at 1.
Returns
- Language
- Language
- String - Returns the language specified by the index that your character can speak.
Example
for x=1, GetNumLanguages() do DEFAULT_CHAT_FRAME:AddMessage(GetLanguageByIndex(x)) end
See also
- GetNumLanguages() - Returns the number of languages your character can speak.