Jump to content
  • 0

Quest begin-end clause pls help


newreboot

Question

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.

 

Citar

 

Editar

Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.