ESX.ShowNotification

1
ESX.ShowNotification(msg, flash, saveToBrief, hudColorIndex)

此函数显示给玩家一个基本的通知。

参数

参数 数据类型 可选项 默认值 说明
msg string No - 显示的信息
flash boolean Yes false 闪烁通知?
saveToBreif boolean Yes true 暂时保存通知?路径:暂停菜单 > 帮助
hudColorIndex number Yes nil 背景颜色, 请参阅 此视频以了解可用颜色

支持的颜色语法

语法 颜色
r 红色
b 蓝色
g 绿色
y 黄色
p 紫色
o 橙色
c 灰色
m 深灰色
u 黑色
n 下划线
s 白色 (默认)
w 白色
h 加粗