Chat.show

From RAGE Multiplayer Wiki
Revision as of 03:09, 13 June 2018 by MrPancakers (talk | contribs) (Updated template)

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

{{{{Gui_definition_c}}}}