View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-30-2018 , 08:34   Re: [ANY] SteamWorks
Reply With Quote #684

Quote:
Originally Posted by joao7yt View Post
Quote:
Originally Posted by LowIntelligence View Post
This returns the Client's Steam language, I specifically need the language the Game is set to.
Hmmm, interesting, I thought it would return the current game language, since sourcemod needs to know that to be able to print translation phrases in the right language... If it doesn’t, then idk
It does return the GAME language.

Steam Language: english
Game language: danish



Code:
Client "DarkDeviL" connected (x.x.x.x:27005).
Server waking up from hibernation
DarkDeviL - GetClientInfo "cl_language": danish
DarkDeviL - GetClientLanguage: danish
Generated using something like this in OnClientConnect:
CODE
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline