Table of Contents

SendChat

How to use

 Chat:sendChat(content, targetuin) 

Where:

And returns:

Use example

When the player presses the “Q” key, He will send a message.

ScriptSupportEvent:registerEvent([=[Player.InputKeyDown]=], function(e) 
 
    local playerid = e['eventobjid']
    local curKey = e['vkey']
 
    if curKey == "Q" then 
        Chat:sendChat("Unlimited power!!!", playerid)
    end
end)