Player::outputChatBox
This functions writes a chat message to player.
Syntax
player.outputChatBox(String reason);
Example
This example welcomes player on connect.
mp.events.add('playerJoin', player => {
player.outputChatBox('Welcome to the server, ' + player.name + '!');
});