|
发表于 2009-12-28 21:00:41
|
显示全部楼层
已经忘了以前是咋写的了,翻了一下以前的代码,发现放在LUA脚本里,中文显示就没问题,但在PLUGIN里中文就显示不出来,需要用以下的形式才可以:-
- -- draw the Text
- draw_line(1, "绮剧?: ", jing, max_jing, "mediumblue", "maroon","mediumblue")
- draw_line(2, "绮惧姏: ", jingli, max_jingli, "mediumorchid", "maroon", "purple")
- draw_line(3, "姘旇?: ", qi, max_qi, "darkgreen", "maroon", "darkgreen")
- draw_line(4, "鍐呭姏: ", neili, max_neili, "gold", "maroon", "darkorange")
- draw_line(5, "椋熺墿: ", shiwu, max_shiwu, "steelblue", "maroon", "steelblue")
- draw_line(6, "楗?按: ", yinshui, max_yinshui, "steelblue", "maroon", "steelblue")
- draw_num(7, "娼滆兘: ", pot, "yellow")
- draw_num(8, "缁忛獙: ", exp, "green")
- -- end draw the Text
复制代码 |
|