魔力宝贝

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

[GP] BGM_control.lua--BGM控制

[复制链接]
发表于 前天 03:18 | 显示全部楼层 |阅读模式
function Win_BGM(fd,packet,player)
        local floortype = Char.GetData(player,3)
        local mapid = Char.GetData(player,4)
        local BGM_2 = Stringsplitplus(packet," ")
        --[[参考
        if(BGM_2[2] == "0")then
                Protocol.Send(fd,"SendBgm ./mp3/1.mp3")
                return 1;
        end
        --]]
        Protocol.Send(fd,"WinmlSendBgm "..BGM_2[2]);
        --NLG.SystemMessage(player,"BGM_2[2]是:"..BGM_2[2].."BGM_2[3]是"..BGM_2[3])
        return 1
end

回复

使用道具 举报

Archiver|魔力研究社

GMT+8, 2025-5-12 14:54 , Processed in 0.116952 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表