Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the number of languages your character can speak.
numLanguages = GetNumLanguages()
Returns[]
- numLanguages
- number
Example[]
Prints the available languages for the player.
for i = 1, GetNumLanguages() do
print(GetLanguageByIndex(i))
end
-- e.g. for Blood elf
> "Orcish", 1
> "Thalassian", 10