Jump to content
RAGE Multiplayer Community

Advanced Chat - Dependency free 1.2.0

   (2 reviews)

1 Screenshot

About This File

Very simple but complete chat written in vanilla js with arrows history navigation, time stamp, user colors prevention, character count, lower cased commands and scrollbar.
 

Ragemp chat api works perfectly

 

k2uXKAN.gif
55FvMKS.gifkk5LAZL.png

Settings 

Edit settings in advanced-chat/js/main.js

QG5yJAb.png

Install

  • Extract in to advanced-chat folder and copy it to client_packages
  • Add this somewhere client-side. (Eg: index.js)
mp.gui.chat.show(false); //Disables default RageMP Chat
const chat = mp.browsers.new('package://advanced-chat/index.html');
chat.markAsChat();
  • Add this somewhere server-side (Eg: index.js)
     
mp.events.add("playerChat", (player, message) => {
    mp.players.broadcast(`${player.name}: ${message}`);
});

 


What's New in Version 1.2.0   See changelog

Released

FIX: Keyboard layouts support, now using event.which instead of event.key for keybinds

  • Like 3
  • Mask 1
 Share


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

Brabus7

   0 of 1 member found this review helpful 0 / 1 member

Not working

Link to review
fl1k

   0 of 1 member found this review helpful 0 / 1 member

This has to be my favorite resource after NativeUI, thank you for releasing this!

  • Like 1
Link to review
×
×
  • Create New...