- Documentation
- Client functions
- sendChatMessage
Function
sendChatMessage
Sends text to the chat as if the player typed it. Text starting with / is a command.
Syntax
bool sendChatMessage(string text)Arguments
textstring- The text.
Returns
true on success.
Example
bindKey("F3", "down", function()
sendChatMessage("Potrzebuję pomocy!")
end)