Requesting Removal

/esx_rpchat/server/main.lua

change the OOC (now your basic chat) teplate.
Here is the regular template with the globe icon

template = '<div style="padding: 0.5vw; margin: 0.5vw; background-color: rgba(41, 41, 41, 0.6); border-radius: 3px;"><i class="fas fa-globe"></i> {0}:<br> {1}</div>',

same problem how to fix it???

Do you know why the ‘twt’ eats the first letter??

Your arg# is wrong

finally i solved it by changin

local msg = rawCommand:sub(6) to `local msg = rawCommand:sub(5)

is there a way to change edit /me and create /do??

Thank you very much for your contribution.

I have a question as I do so that it appears 2 more clouds
as I show in the picture, thank you very much

I have set my chat up all the way, i tried all the methods above but it is still being stupid.

I litteraly only want to remove the text doubling, the yellow text & the white text.

Help?

try in resources/[system]/chat/sv_chat.lua
(make backup file)

find this code and commend. “–”

--AddEventHandler('_chat:messageEntered', function(author, color, message)
   -- if not message or not author then
     --   return
   -- end

   -- TriggerEvent('chatMessage', source, author, message)

   -- if not WasEventCanceled() then
     --   TriggerClientEvent('chatMessage', -1, author,  { 255, 255, 255 }, message)
   -- end

  --  print(author .. '^7: ' .. message .. '^7')
--end)
-- player join messages
---AddEventHandler('chat:init', function()
    ---TriggerClientEvent('chatMessage', -1, '', { 255, 255, 255 }, '^2* ' .. GetPlayerName(source) .. ' joined.')
---end)

---AddEventHandler('playerDropped', function(reason)
    ---TriggerClientEvent('chatMessage', -1, '', { 255, 255, 255 }, '^2* ' .. GetPlayerName(source) ..' left (' .. reason .. ')')
---end)

---RegisterCommand('say', function(source, args, rawCommand)
    ---TriggerClientEvent('chatMessage', -1, (source == 0) and 'console' or GetPlayerName(source), { 255, 255, 255 }, rawCommand:sub(5))
---end)

with this should be, also the message of “user entered and left”.

2 Likes

Anyone know how to make this work with DiscordBot?

/ooc
/announce
/tweet
/anontweet
/ad

1 Like

Cool that worked, now i just need to figure out how to make the /ooc default chat, so without needing to type /ooc and having steam names to be there.

is there a way to put /me and /do as proximity message? with this font

I don’t know, i think it is possible but would require recoding some of the things.

hello friend how do I leave the ooc by default in the chat? Thank you

hi friends how can i solve this? I get double the message in the chatSin%20t%C3%ADtulo

Hello, i need help, my problem is i need to see first name and last name in regular chat
look this pic
Screenshot_155

is there a way to make it so that if people type without doing /ooc or any commanhd they get a message sent to them saying “you must type in /ooc chat” im trying to make my server a mic required but i have all chats disabled, (proxim and the double text) but when they text without a command they just get their message lost in space, instead i want it to have a reply function telling them to do /ooc or /twt , thank you

is it also to vrp

Would there be a way to increase the font size for us old folk :smiley:

Yes if you go into the civfontawesome and change style.css on line
47 You can increase the font

* {
  font-family: 'Barlow Condensed', sans-serif;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}