Search found 1 match

by mofaruantang
Mon Apr 15, 2019 8:14 pm
Forum: Mapping and Modding
Topic: How to use Chinese characters in LUA scripts
Replies: 0
Views: 17720

How to use Chinese characters in LUA scripts

When I use Chinese characters in 【UTF-8】 LUA scripts, it will report an error.
---------------------------
lua.log:
Fatal Lua Error: Error parsing gdi01.lua. Reason: [string "gdi01.lua"]:114: 'end' expected
(to close 'if' at line 112) near '<eof>'
---------------------------
When I tried 【ANSI】 LUA ...