在屏幕上中间绘制全局文字消息

函数原型

2.0.0.0

SuicDrawCenterMessage(uid,message[],r,g,b,Float:holdTime);

功能说明

在屏幕上中间绘制全局文字消息

使用场景

很明显,用于一些提示内容

参数信息

参数名称 参数类型 参数介绍 默认值 参数备注
uid int 目标玩家 -- 0:全部玩家
其他:玩家UID
message string 消息内容 -- --
r,g,b int 文本的RGB色值 -- 分别对应3个参数
holdTime float 显示时间 3 0:永久显示
其他:具体秒数

results matching ""

    No results matching ""