Chat.push

From RAGE Multiplayer Wiki
Revision as of 14:17, 15 January 2018 by Mcfloy (talk | contribs)

Sends a chat message to the player.

Syntax

mp.gui.chat.push(text);

Required Arguments

  • text: String text

Return value

Unknown

Example

Client-Side
mp.events.add('playerDeath', (player) => {
    mp.gui.chat.push("You !{Red}died!");
});

See also