前端Lua
前端Lua
前端Lua
如果data[self.select][i]是1就是false 不是1就是true 写个表达式
前端Lua
如果data[self.select][i]是1就是false 不是1就是true
前端Lua
MainRightTop = {} local IconData = { { { notes = "在线充值按钮", path = "res/custom/top/11.png" }, { notes = "狂暴之力按钮", path = "res/custom/top/12.png" }, }, { { notes = "每日礼包按钮", path = "res/custom/top/21.png" } }, { } } --判断图标放入 function M
前端Lua
local IconData = { { { notes = "在线充值按钮", path = "res/custom/top/11.png" }, { notes = "狂暴之力按钮", path = "res/custom/top/12.png" }, }, { { notes = "每日礼包按钮", path = "res/custom/top/21.png" } }, { } } --判断图标放入 function MainRightTop.judgeIc
前端Lua
写一个物品拆分功能
前端Lua
LUA ERROR: [string "scripts/GUI/SLFunctions.lua"]:0: attempt to index a nil value [LUA-print] [20:45:11-925] stack traceback: [string "scripts/main.lua"]: in function '__index' [string "scripts/GUI/SLFunctions.lua"]: in function 'Req
前端Lua
SL:RequestSplitItem(data, num)怎么用
前端Lua
MainRightTop = {} local IconData = { { { notes = "在线充值按钮", path = "res/custom/top/11.png" }, { notes = "狂暴之力按钮", path = "res/custom/top/12.png" }, }, { { notes = "每日礼包按钮", path = "res/custom/top/21.png" } }, { } } --判断图标放入 function M
前端Lua
[@顶部图标刷新] #IF #ACT SENDCUSTMSG 100 刷新图标 --接受消息初始化图标数据 function networkCB(msgID, msgData) if msgData == "刷新图标" then SL:Require("GUILayout/MainRightTop", true) end end 这样没办法让GUILAYOUT下的lua文件再加载显示一次吗
前端Lua
后端数据同步机制是什么
前端Lua
可是后端txt里G2 的值是2,为什么获取不到
前端Lua
local g2Value = SL:GetMetaValue("SERVER_VALUE", "G2") g2Value = g2Value or 0 SL:Print("====="..g2Value.."+++++") -----第一行判断----- -----第二行判断----- if g2Value < 8 then table.insert(IconData[3], {notes="七日签到按钮",path="res/custom/top/22.png"}) end
前端Lua
要求你实现一个功能,后端使用U21变量记录玩家是否购买首充礼包,前端如何接受并展示不同界面
前端Lua