UI:CreateChatMessage

UI:CreateChatMessage(message: string, channelId: ChatChannelType, playerId: int, recipientMask: int, isSenderDead: bool)

Parameters

Name Type Description
message string
channelId ChatChannelType
playerId int
recipientMask int
isSenderDead bool

Example

Hooks:Install('UI:CreateChatMessage', 1, function(hook, message, channelId, playerId, recipientMask, isSenderDead)
    -- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)