Onforum.net - Web and gaming resource community

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members .

Problem with get_language in quest

Status
Not open for further replies.

uScared?

New member
Credits
0
Hi.
I managed the func pc.get_language() to get the lang from db db and choose the right translate_xx.lua. But i got the following problem:

when 9006.chat."teste" begin ----> No errors !

when 9006.chat.gameforge.arena_manager._140_sayTitle begin ---> No errors !

when 9006.chat.gameforge[pc.get_language()].arena_manager._140_sayTitle begin --> This way, give me the begin-end clause erro. Just because i added [pc.get_language()]

If i use it on say(gameforge[pc.get_language()].arena_manager._140_sayTitle) it works to..
If someone can help would be nice.. I dont know what can i do now.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
TomiokaOP Archive 4
Archive 0
Archive 0
Archive 0
Archive 2

Similar threads


Top

Dear User!

We found that you are blocking the display of ads on our site.

Please add it to the exception list or disable AdBlock.

The advertises that you'll see aren't intrusive they just help us to keep the community alive

If you don't want to see those ads just buy an upgrade.

Thank you for understanding!

RomanP

RomanP Purchase

User upgrade! at

🔥 Upgrade Now
xnmex

xnmex Purchase

User upgrade! at

🔥 Upgrade Now
Rogue

Rogue Purchase

User upgrade! at

🔥 Upgrade Now