Chat.show

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Toggles the chat visibility.

Syntax

mp.gui.chat.show(toggle);

Required Arguments

  • toggle: Bool toggle

Return value

Unknown

Example

Client-Side
mp.events.add('playerDeath', (player) => {
    //Hide chat when player dies
    mp.gui.chat.show(false);
});

See also