let chat = false;
mp.keys.bind(0x54, true, (player) => { // If Chat was triggered
if (!chat) {
chat = true;
}
});
mp.keys.bind(0x0D, true, (player) => { // If Chat was stopped.
if (chat) {
chat = false;
}
});
You can use this chat checker client side to fix your bug...