chat design for qb-core
View attachment 502
Download the default chat of cfx from here - If you have the color error
attempt to index a nil value ( field 'color')
Just go to the script that uses 'chat:addMessage' and add the color field.
TriggerClientEvent('chat:addMessage', src, {
color = {255, 0, 0}, <-- here
multiline = true,
args = {'Admin Report - '..name..' ('..targetSrc..')', msg}
})
For the old just go to the index.css
View attachment 502
-------- Important --------
Don't replace the entire folder, just copy the files and paste in your chat folder.Download the default chat of cfx from here - If you have the color error
attempt to index a nil value ( field 'color')
Just go to the script that uses 'chat:addMessage' and add the color field.
Change color of the border
New qb-core uses chat:addMessage trigger,TriggerClientEvent('chat:addMessage', src, {
color = {255, 0, 0}, <-- here
multiline = true,
args = {'Admin Report - '..name..' ('..targetSrc..')', msg}
})
For the old just go to the index.css