Jump to content

Advanced Chat - Dependency free 1.2.0

   (3 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 5
  • Mask 1

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Devious

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

Thanks, its very useable.

Link to review
fl1k

   2 of 3 members found this review helpful 2 / 3 members

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

  • Like 1
Link to review
Guest uLAN3327

   1 of 4 members found this review helpful 1 / 4 members

rage

 

Link to review
×
×
  • Create New...