前端Lua
前端Lua
前端Lua
SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) for key, value in pairs(data["operID"][1]["item"]) do SL:release_print(key,
前端Lua
同时给的物品只使用了一个
前端Lua
SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) for key, value in pairs(data["operID"][1]["item"]) do SL:release_print(key,
前端Lua
SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) for key, value in pairs(data["operID"][1]["item"]) do SL:release_print(key,
前端Lua
local zhuanpanOBJ = {} zhuanpanOBJ.Name = "zhuanpanOBJ" zhuanpanOBJ.cfg = { { { showReward = { { 19, 12 } }, index2 = 1 }, { showReward = { { 19, 18 } }, index2 = 2 }, { showReward = { { 19, 20 } }, index2 = 3 },
前端Lua
我需要创建一个物品框怎么创建
前端Lua
获得物品触发怎么写
前端Lua
function MainButton:setupDataListener(parent) -- 每1秒检查一次数据变化 SL:Schedule(function() if not GUI:Win_IsNull(parent) then local node = GUI:getChildByName(parent, "node_rightSide_1") if not GUI:Win_IsNull(node) the
前端Lua
local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res/public/996kf_red.png", cmd = { 1, 0, 0 } }, --GM功能 } function MainButton:main() SL:ScheduleOnce(function() local parent = GUI:Attach_LeftTop
前端Lua
local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res/public/996kf_red.png", cmd = { 1, 0, 0 } }, --GM功能 } function MainButton:main() SL:ScheduleOnce(function() local parent = GUI:Attach_LeftTop
前端Lua
local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res/public/996kf_red.png", cmd = { 1, 0, 0 } }, --GM功能 } function MainButton:main() SL:ScheduleOnce(function() local parent = GUI:Attach_LeftTop
前端Lua
local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res/public/996kf_red.png", cmd = { 1, 0, 0 } }, --GM功能 } function MainButton:main() SL:ScheduleOnce(function() local parent = GUI:Attach_LeftTop
前端Lua
我想把双倍经验添加到获得就提示快捷使用 怎么添加
前端Lua