Triggering this event clears the chat window along with the client’s
sent-message history buffer. It takes no parameters. Use it for a /clearchat
utility command, or to reset the chat when a player respawns into a fresh
game mode where old messages no longer apply.
Event Name
chat:clearParameters
This event has no parameters.
Example
RegisterCommand('clear', function(source, args)
TriggerEvent('chat:clear')
end, false)