[Release] mumble-voip, rp-radio

If it works, take a good look at the image and do it as is, thank you very much!

you have to activate OneSync

I need some help, so i got mumble voip and rp-radio, but when i want to talk trough the ‘porto’ or ‘radio’ i have to equip the thing and then i can talk trough it, otherwise it wont work. Keybinds are installed good and i dont know how to fix this?

The only issue im having currently is, I have my keys mapped out correctly in the config, M does the PTT but when im using my remote and i press the back button, its not broadcasting or something must be conflicting with it on the controls?

Hi ! i put the export in on job for avaible private frequency, but dos’nt work…

Blockquote
RegisterNetEvent(‘esx:setJob’)
AddEventHandler(‘esx:setJob’, function(job)
PlayerData.job = job
Citizen.Wait(5000)
TriggerServerEvent(‘esx_fbijob:forceBlip’)

if PlayerData.job and PlayerData.job.name == 'police' then 
	exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
elseif PlayerData.job and PlayerData.job.name == 'ambulance' then--[To add a job copy the from here]
	exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)--[to here] and paste it right blow
elseif PlayerData.job and PlayerData.job.name == 'mecano' then -- here then rename 'mecano' to the job name
	exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) -- set radio freq here (9, 10)
elseif PlayerData.job and PlayerData.job.name == 'sheriff' then -- here then rename 'mecano' to the job name
	exports["rp-radio"]:GivePlayerAccessToFrequencies(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) -- set radio freq here (9, 10)
end --(Dont Touch)

end)

Anyone have this problem ?

I followed the steps in this comment section and made the channels private, however when i have the police job i also can’t go to that channel. anyone has a fix?

Capture

Does anyone know how to fix this and make it work? This is the fresh download

Mumble-voip - ui - index.html

Looking for top command, “Info Container” have to set align bottom & right percentages

Yes, in bottom of config folder of radio, there is a setting Allowradiowhenclosed = True/False (allows police animation)

Does anyone know how to make the radio only useable when they purchase from a store. Basically anyone that flies into the server has a radio, im looking to disable that so they have to atleast purchase one before allowing to use

Okay, so heres the issue I’m having with rp-radio. In order to see the radio channels for job usage they have to clock out and back in. Is there any specific place I need to be starting mumble and rp-radio?

Rest of the script works fine on both parts, I know it says to use pma-voice/ pma-radio but outside of this small hiccup, they both work great without any other issue.

Hello is there anyway to get this to work with ace persm rn i got a leo and a fire role im trying to see if i can get it to work where channels like 1,2,3 and 7 are leo and 4,5,6,8 are fire theres a total of 8 private and was woundering even if there was another way to do it based on discord roles

anyone ever respond to you?

Hi If you want a radio as a useable item, and wanna drop player from channel if someone confiscate the radio item or, palyer drop the radio item , or player dead. Create server.lua in rp-radio directory

and put this

ESX = nil

TriggerEvent(‘esx:getSharedObject’, function(obj) ESX = obj end)

ESX.RegisterUsableItem(‘radio’, function(source)

local xPlayer = ESX.GetPlayerFromId(source)
TriggerClientEvent('Radio.Set', source, true)
TriggerClientEvent('Radio.Toggle', source)

end)

Citizen.CreateThread(function()
while true do
Citizen.Wait(500)
local xPlayers = ESX.GetPlayers()
for i=1, #xPlayers, 1 do
local xPlayer = ESX.GetPlayerFromId(xPlayers[i])
if xPlayer ~= nil then
if xPlayer.getInventoryItem(‘radio’).count == 0 then

            local source = xPlayers[i]
            TriggerClientEvent('Radio.Set', source, false)

            break
          end
        end
      end
    end
  end)

and add this to your fxmanifest.lua :

server_scripts {
“server.lua”,
}

And in client.lua Set the Has.radio=true —> Has.radio=false

1 Like

bro can you set a copanimation while using radio ??? plssss

I want to know. how i can set volume on walkie talkie ?
Thank you for answer :heart_eyes:

does anyone know hoe to set the players name instead of the radio alphabet

You found it ?

How would I add this to my server or client side

someone helps me to add a system that when someone enters the frequency a notification appears: “Xplayer entered the frequency” @Frazzle
image
like this, in english this is: broadcasting xplayer