MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetClientLanguage

Method GetClientLanguage

core/logic/Translator.cpp:971–975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

969}
970
971unsigned int Translator::GetClientLanguage(int client)
972{
973 IGamePlayer *pPlayer = playerhelpers->GetGamePlayer(client);
974 return pPlayer->GetLanguageId();
975}
976
977bool Translator::GetLanguageInfo(unsigned int number, const char **code, const char **name)
978{

Callers 4

TranslateFunction · 0.80
gnprintfFunction · 0.80
sm_GetClientLanguageFunction · 0.80
getLangFunction · 0.80

Calls 2

GetGamePlayerMethod · 0.80
GetLanguageIdMethod · 0.80

Tested by

no test coverage detected