Browser::markAsChat
Client-Side
This marks the browser as the chat for the server.
Syntax
browser.markAsChat();
Examples
This sets the browser named 'chatbox' to become the chatbox for the server.
mp.gui.chat.show(false); //Disables default RageMP Chat
let chatbox = mp.browsers.new('package://chat/index.html');
chatbox.markAsChat();
See Also
- Functions:
- Properies: