[Release] mumble-voip, rp-radio

Where do I want to reduce my voice?

I can’t hear peoples when speaking to radio

Hey Chief did you ever figure this out? I tried this as well. Normally it fixes it but I can’t get it to work! :stuck_out_tongue:

Hello,

I’m trying to get my private channels to work.
But for now its not a success.

I tried this code in the policejob client file.

RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(job)
	ESX.PlayerData.job = job

	Citizen.Wait(5000)
	TriggerServerEvent('vl_politie_nl:forceBlip')
	
	if PlayerData.job and PlayerData.job.name == 'politienl' then 
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 2, 11, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'politiebe' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 6, 11, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'douane' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 9, 11, 13, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'kmar' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 5, 11, 13, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'ambulancebe' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 7, 8, 12, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'ambulancenl' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 3, 4, 12, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'brandweerbe' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 7, 8, 12, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'brandweernl' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 3, 4, 12, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'anwb' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(10, 14, 15)
	elseif PlayerData.job and PlayerData.job.name == 'vab' then
		exports["rp-radio"]:GivePlayerAccessToFrequencies(10, 14, 15)
	else
		exports["rp-radio"]:RemovePlayerAccessToFrequencies(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
	end

end)

I tried many tutorials but its not working.

Does anyone know a fix?

Greetings

Hello everyone, Maybe someone knows what code to write that

Channel 1 is for police only doenst matter you on duty or off duty so if your job police you can acces channel 1.

I have Config.EnableESXService false.
Thats why I dont use exports[ā€œrp-radioā€]:GivePlayerAccessToFrequencies(3,4)

If someone could help I would appreciate that

Any idea how to make channels work only with certain work.

For example if Im in police I want all police officers to be able to join frequince 1

I have Config.EnableESXService false.
Thats why I dont use exports[ā€œrp-radioā€]:GivePlayerAccessToFrequencies(3,4)

Hi!
Is there any way to make it possible to talk in the radio while not holding it in your hand?

1 Like

Hey! So everything is working fine for me! Jus tone little thing. I would like for people to use the radio even when the radio is not on your hand.

This is so you don’t have to open the menu/item to talk through the radio.

1 Like

I have fixed this. The mumble-voip script needs to be editted to check if IsInputDisbled(0). I have opened a PR.

Hey, bro you are missing a server.lua file … how can i use the item radio, if there is no call for it ?

we have noticed a bug when using 2daudioincars where sometimes the person you were in a car with will become global, not sure if it’s been reported yet.

My players experience hearing problems all over the world without being close to each other. I want to know a solution

I am getting [Mumble] Initialising and [Warning] Not connected to mumble. What did I do wrong? The script is like in the download

1 Like

Anyone know how to fix a few of these issues?

  1. I set the proximity button to ā€œNā€, and when I press N in the game, it doesnt change anything. Yet when I press my push to talk button or CAPS, it changes the proximity that way.

  2. I suspect the above is why im having this issue, but when trying to talk with people in close proximity, when I or they push the PTT button, voice doesnt transmit.

Voice works over radio and phone, however – I am at a loss

  • use either the event "Radio.Set", bool or the export exports:["rp-radio"]:SetRadio(bool) to give/remove radio*

I have it working Radio working as an item which when used it toggles the Radio Open however I am trying to figure out how to make it so that when someone steals their radio or drops it, it doesn’t allow them to use the radio.

I believe I need to use- exports:[ā€œrp-radioā€]:SetRadio(false)

I just am unsure as to where I need to trigger this, id imagine my inventory script but I don’t think that is correct either because then it would be for anything dropped or removed… I really feel i’m over thinking this , any help ?

How can i change position of Mumble and radio? (On the screen)

Just woundering if anyone has done the same on what im trying todo.

on toko for our hud we would place this when they are talking it would trigger it

TriggerEvent(ā€˜sc:setTalkingState’, true)

and when they werent talking it would trigger this

TriggerEvent(ā€˜sc:setTalkingState’, false)

if anyone has done the same would you mind showing me where you placed your triggers thanks.

So I want to use the radio on a menu based server but idk if there is a way to create private radios for the menu version so who had perms and that

I have updated my VOIP to the new grid system. I am having problems with everyone hearing everyone without being close to each other.

What are you trying to change? The broadcast button?

Local chat can be set by the players under their FiveM key binds and the voice chat key bind

If you are trying to change the broadcast key bind there are two files you have to edit

In the mumble-VoIP config.lua
Line 25 key =

In the rp-radio config.lua
Line 32 Name =
Line 33 Key =