chat test

This commit is contained in:
hydrant
2021-04-05 02:25:47 +02:00
parent 94b0ab73e8
commit 8978c4d533
9 changed files with 284 additions and 0 deletions

View File

@@ -7,6 +7,12 @@
import { IGame } from './game';
import RageGame from './core/rage-mp/game';
// Disables default RageMP Chat
mp.gui.chat.show(false);
// Initialize chatbox CEF, mark it as default server chat
const chatbox = mp.browsers.new('package://assets/chat/index.html');
chatbox.markAsChat();
var inMenu: boolean = false;