AddUserMessage

This export was created to allow you to manually handle who should receive the message. Works almost the same as previously chat:addMessage.

Export handling

exports['ZSX_UIV2']:AddUserMessage(icon, message, color, anonymous, proximity, header)
Arg
Information
Optional

icon

String Icon for the point. List of icons.

message

String Text of the message.

color

String Hex color of the message.

anonymous

Boolean Message should be anonymous or not.

proximity

Number Distance using game units.

header

String Custom header text.

Event

You can also use it as event:

TriggerEvent('ZSX_UIV2:Chat:AddUserMessage', 'fab fa-twitter', argsOutput, '#64A6FD', false, false, 'Twitter')

Last updated