GetGameLanguage
From Onset Developer Wiki
Description
Gets the language that the player has set in their game settings.
Syntax
GetPlayerLanguage()
Parameters
- This function has no parameters.
Return Value
- Language as string in 2 letter code.
Example
AddCommand("lang", function()
AddPlayerChat( "Your language: "..GetPlayerLanguage())
end)