Remove “player joined/left/died” from ic-chat - help

Hello all,

how exactly can I turn all this off server side?
Zap Hosting FiveM Linux.

I already looked at this and the " are there but still the whole thing is displayed. What is wrong?

If someone has the solution for this, please post directly :slight_smile:
Thank you

AddEventHandler(‘playerDropped’, function(reason)
if GetConvarInt(‘chat_showQuits’, 1) == 0 then
return
end

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

– player join messages
AddEventHandler(‘playerJoining’, function()
if GetConvarInt(‘chat_showJoins’, 1) == 0 then
return
end

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

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