SixL client API / game/localization / GameLocalizationMp
Interface: GameLocalizationMp
The language the game is set to.
Remarks
Only the current language is available in SixL for now.
Methods
getCurrentLanguage()
getCurrentLanguage():Promise<number>
The language the game is set to.
Returns
Promise<number>
A Promise of the language, as the game's own number (an integer), not a name.
Example
const language = await mp.game.localization.getCurrentLanguage();