Default chat with QB core

I have been trying to disable the player join and leave messages, I have looked through the discussions on this issue and have tried them but it keeps returning and reseting the sv_chat file, is there something else i need to disable or change to stop this or is this just a normal thing that can’t be changed

Use another chat

is there any, all i can find are themes or chats that depend on the default one i am mentioning

1 Like

Prob go to your internal server files (cfx-server-data) and locate chat:sv_chat.lua remove this:

– TriggerClientEvent(‘chatMessage’, -1, ‘’, { 255, 255, 255 }, ‘^2* ’ … GetPlayerName(source) … ’ joined.’)
end)

– TriggerClientEvent(‘chatMessage’, -1, ‘’, { 255, 255, 255 }, ‘^2* ’ … GetPlayerName(source) …’ left (’ … reason … ‘)’)
end)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.