前端Lua
前端Lua
前端Lua
SL:RegisterLuaNetMsg(1211,function(msgID, p1, p2, p3, msgData) if p1 == 1 then GUI:Win_Close(sctp[1]) elseif p1 == 2 then GUI:Win_Close(sctp[2]) elseif p1 == 3 then GUI:Win_Close(sctp[3]) elseif p1 == 4 then GUI:Win_Close(sctp[4]) elseif p1 == 5 then
前端Lua
for i = 1, 6 do sctp[i] = GUI:Image_Create(bg1, "img_bj1"..i, dban_x[i]+166, dban_y[i]+39, "res/custom/npc_ui/szdb/6.png") end GUI:addOnClickEvent(dban[1],function() SL:SendLuaNetMsg(1112, 1, 0, 0, "代币购买按钮1") SL:Print("点击了11111") end) GUI:a
前端Lua
我怎么显示物品框中的极品属性
前端Lua
我怎么显示物品框中的基础属性
前端Lua
local goodsItem = GUI:ItemShow_Create(iconBg, "goodsItem" .. Index, GUI:getContentSize(iconBg).width / 2, GUI:getContentSize(iconBg).height / 2, { itemData = itemCfg, index = Index, look = true })
前端Lua
setChineseName这个是什么意思
前端Lua
-- 自定义 tips顶部框体特效 -- SL:dump(itemData) if itemData.Price > 0 then -- 背景特效 local Frames_Bg = GUI:Frames_Create(ListBg, "Frames_Bg", data.pos.x, data.pos.y, string.format("res/public/tips/tx%s_", itemData.Price), ".p
前端Lua
warning, loadTile:1, 14, 65534, param error warning, loadTile:1, 256, 65023, param error warning, loadTile:1, 256, 3327, param error warning, loadTile:1, 16, 65534, param error warning, loadTile:2, 256, 3838, param error warning, loadTile:2, 256, 383
前端Lua
"_nationID" = 0 [LUA-print] [05:27:49-713] - "class" = { [LUA-print] [05:27:49-713] - "AnimDisplay" = function: 0x1978f200 [LUA-print] [05:27:49-713] - "Bright" = function:
前端Lua
怎么获取攻击力
前端Lua
[LUA-print] [23:10:34-016] LUA ERROR: target is nil value [LUA-print] [23:10:34-016] stack traceback: [string "scripts/GUI/GUI.lua"]: in function '' [string "scripts/GUI/GUI.lua"]: in function 'addOnClickEvent' [string "GUILay
前端Lua
local parent = GUI:Win_Create("Layout", 0, 0, 0, 0) if GUI:Win_IsNull(parent) then SL:Print("狂暴之力:创建界面失败") return end -- 加载GUIExport文件 GUI:LoadExport(parent, "狂暴之力") -- 获取父节点的快捷子控件组 local ui = GUI:ui_delegate(
前端Lua
服务端扣除货币后如何发送了数据更新消息到客户端
前端Lua