Chat.push

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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