请问,写入指定数据到INI文件怎么用啊,我咋 function RunLuaScript1(actor)下用不了啊
s.ini.writeIni("\\LuaScripts\\QuestDiary\\1.ini","官衔值","角色名","1000")
function RunLuaScript1(actor)
s.ini.writeIni("\\LuaScripts\\QuestDiary\\1.ini","官衔值","角色名","1000")
local actorname = actor:getCharName()
print("["..actorname.."]通过脚本命令执行LUA函数14")
print(actor:getCharName())--输出玩家对像的名字
end |