/script d(SETTING_TYPE_LANGUAGE)
return values on EU-Megaserver are
german 12
french 12
english 12
For Language is this perhaps a solution
Code:
function GetClientLanguage()
-- GetErrorString(16) return values
-- english "Off balance target"
-- german "Ziel aus dem Gleichgewicht"
-- french "Cible étoudie"
local language="fr"
local errorstring == GetErrorString(16)
if errorstring = "Ziel aus dem Gleichgewicht" then
language="de"
elseif errorstring == "Off balance target" then
language="en"
end
return language
end