[help] Lua script

02/25/2013 16:05 Mac9H#1
Hello, how to call this input variable using lua script?

[Only registered and activated users can see links. Click Here To Register...]

and how can I use russian language in Lua scripts to display it in the game?

Sorry for bad English. Its Google translate :D
02/25/2013 22:18 mongreldogg#2
Quote:
Originally Posted by Mac9H View Post
and how can I use russian language in Lua scripts to display it in the game?
Notepad ++ can switch file encoding to UTF-8 (without BOM), just switch, write and save.

Quote:
Originally Posted by Mac9H View Post
Hello, how to call this input variable using lua script?

[Only registered and activated users can see links. Click Here To Register...]
no idea xD
02/26/2013 08:37 M>M#3
Quote:
Originally Posted by Mac9H View Post
Hello, how to call this input variable using lua script?

[Only registered and activated users can see links. Click Here To Register...]
did you try to search in the RU string resource ?
02/26/2013 09:07 Mac9H#4
Quote:
Originally Posted by M>M View Post
did you try to search in the RU string resource ?
Nobody knows how to it's done. But it can be useful in the future for keyboard input in Lua script. :)

The idea of blackjack will not let me sleep.:D

Quote:
Originally Posted by mongreldogg View Post
Notepad ++ can switch file encoding to UTF-8 (without BOM), just switch, write and save.
Thx :handsdown: Its work.
02/26/2013 15:37 mongreldogg#5
Quote:
Originally Posted by Mac9H View Post
Nobody knows how to it's done. But it can be useful in the future for keyboard input in Lua script. :)

The idea of blackjack will not let me sleep.:D



Thx :handsdown: Its work.
this guy quite right, much better to use stringresource, just in cause if you want to make resource for another language clients in the future and translate some new strings you use by your own