Skip to content

function chatInputSend (client-side)

Available since version: 0.0.1

This function will send typed message to the server.
In case when message is command (starts with forward slash /),
server will trigger event onPlayerCommand, otherwise event onPlayerMessage will be called.
It will also clear the chat input text and hide it from the screen.

Declaration

void chatInputSend()

Parameters

No parameters.