Skip to main content

Chat.activate

This enables or disables the chat with a given boolean.

Syntax​

mp.gui.chat.activate(state);

Example​

Client-Side

mp.gui.chat.activate(true); // Default - Enables the chat
mp.gui.chat.activate(false); // Disables the chat