[Release] mumble-voip, rp-radio

i have my ems police an mechanic job channel private but they cant join channels can some help me

Okay so in your esx_policejob do this exactly, Search for esx:setJob then copy and paste this obviously change the channels to your liking

RegisterNetEvent(ā€˜esx:setJob’)
AddEventHandler(ā€˜esx:setJob’, function(job)
PlayerData.job = job
Citizen.Wait(5000)
TriggerServerEvent(ā€˜esx_policejob:forceBlip’)

if PlayerData.job and PlayerData.job.name == ā€˜police’ then
exports[ā€œrp-radioā€]:GivePlayerAccessToFrequencies(1, 2, 3)
elseif PlayerData.job and PlayerData.job.name == ā€˜ambulance’ then
exports[ā€œrp-radioā€]:GivePlayerAccessToFrequencies(1, 2, 3)
elseif PlayerData.job and PlayerData.job.name == ā€˜mechanic’ or PlayerData.job.name == ā€˜mechanic2’ or PlayerData.job.name == ā€˜mechanic3’ then
exports[ā€œrp-radioā€]:GivePlayerAccessToFrequency(3)
else
exports[ā€œrp-radioā€]:RemovePlayerAccessToFrequencies(1, 2, 3)
end
end)

this sets the channels 1,2,3 for police and ambulance and 3 for the mechanic

Hey!
Great release and everything, but i can’t seem to get the rp-radio part to work. I’ve tried my best trying to figure why it wont ā€œpupā€ up when i type /radio
Any suggestions?

Best regards.

Having the same issue mate, will let you know if i fix it.

Look it does say it alot on here.

go into rp-radio goto client.lua

image

1 Like

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

1 Like

Some reason when the radio isnt working. Someone talks I cant hear them but they can hear the radio clicks os pretty much no one can hear anyone.

Do you have vMenu on? The other voice plugins mess with this alot.

Is there a way to create a command to allow and disallow players to certain frequencies in game? Thanks

I do not only mumble voip

Is both rp-radio and mumble voip up to date?

yea it is

so how would you start this?

I just put the files in and started it. is there anything else I would need to do?

if so what keybinds are they to open the radio and s tuff

In the rp-radio config set the Has configuration to true. It should be at the top.
@ZokuRush I’d recommend you reinstall both and see what happens, try and keep the config at default except for the has config and possibly keybinds.

dint work

i have vmenu and cant go lower in frequency 5 and is i and some friends are on same frequency we cant hear others only the clicks

In my server everything works fine but i cant fully connect, because it stops at awaiting scripts. I need help.

can’t use radio while i’m driving emergency vehicle

1 Like

how would i go about disabling vmenu voip to make this work??

also is essential mode required for this?