• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Get Otclient language in TFS, possible?

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
206
Is it possible, through a tfs function, to identify the language that the player is using in otc?
something like
LUA:
print(player:getLanguage())
and return en, pl, etc
 
Language is sent here. you must save that information in some way (array lua cache, database, etc..). :

tfs:

Client
 
Last edited:
Is this the only way to work?
Isn't there a function similar to getClientOs()?
For example getClientLanguage() or something like that?
 
For example, if I put storage in the player, it doesn't make much sense.because on the same account the player can have a player with the language in English and when logging in to the other player (same account) the language will be French?!
Isn't there a more functional code that checks the player client? The language of the customer (OTC)
 
Back
Top