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
Settings
Edit settings in advanced-chat/js/main.js
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
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now