Skip to content

xV1ncenTx/VN-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

VN-chat

Better chat for QB-Core Framework

Previews

(You can easly change colors)

Full Chat

Full Chat

Alert

Alert

Error & Item Details

Alert

Alerts/etc

Modify Examplenation

If your alert is ambualert

...local msg = table.concat(args, " ")
            TriggerClientEvent("chatMessage", -1, "EMS ALERT", "ambualert", msg)...

Do this on chat's style.css

.ambualert {
  background-color: rgba(##, ##, ##, ##);
}

If alert is error

...local msg = table.concat(args, " ")
            TriggerClientEvent("chatMessage", -1, "EMS ALERT", "error", msg)...

Do this

.error {
  background-color: rgba(##, ##, ##, ##);
}

Installation

Manual

  • Before you do it backup your old chat.
  • Download the script and put it in this path - \resources \ [cfx-default] \ [gameplay].
  • You don't need to ensure your script on config.

Script edited

credits here