How can i disable (voicechat) on my server linux

Hi guys, I want to disable the (voice chat) from the server. Is there a mod for this thing or something to delete from the resources. thx

You can use a native to set the voice chat proximity.

https://runtime.fivem.net/doc/reference.html#_0xCBF12D65F95AD686

Set it to 0.0 to disable the voice chat.

1 Like

If you can make it in client.lua and send it to me plz . thinks

1 Like

Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
NetworkSetTalkerProximity(0.0)
end
end)

I tried this but it didn’t work

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