Found this function:
vgui::system()->GetRegistryString("HKEY_LOCAL_MACHINE\\Software\\Valve\\Stea
m\\Language", language, 128)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maarten De Meyer
Sent: Thursday, December 27, 2007 2:37 AM
To: [email protected]
Subject: Re: [hlcoders] Get users steam lang setting
Not sure, but I always laugh when I see code like
if ( g_Language.GetInt() == LANGUAGE_GERMAN )
{
m_iGibModelIndex = PrecacheModel ("models/germanygibs.mdl");
}
else
{
m_iGibModelIndex = PrecacheModel ("models/gibs/hgibs.mdl");
}
that what you're looking for?
> I was looking in the engine header files but couldn't see a function which
> would return this value. Does any one know how to get it?
>
> Mark
>
> Perfect Dark Source
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders