|
楼主 |
发表于 2025-3-12 18:57:26
|
显示全部楼层
封装sendmsg9
- function smsg9(play,msg,color,miaobian) ---sendmsg9
- if color == nil then
- color = "#FFFFFF"
- end
- if msg == "" then
- sendmsg(play, 1, '{"Msg":"<font color=\'#ff0000\'>未设置消息</font>","Type":9}')
- return
- end
- if miaobian == "" then
- if getconst(play,"<$CLIENTFLAG>") == "1" then
- miaobian = 1
- else
- miaobian = 0
- end
- end
- sendmsg(play,1,[[{"Msg":"<outline size=']].. miaobian ..[['> <font color=']].. color ..[['>]]..msg..[[</font> </outline>","Type":9,"Time":"1"}]])
- end
复制代码 |
|