[RELEASE] [VOIP] pma-voice - Voice Chat using FiveM's built in mumble server

Any way to work with bucket system please? I can hear people in other virtual world

Hello my server player is online 650+ and it makes the sound lag.

5 Likes

How to install pma?
set onesync legacy

I’m having some issues here. So, the prox chat and radio work just when you are walking, but when you start driving a vehicle, the player driving randomly doesn’t have his voice go to the other radios, but can still hear them. Once you get out of the vehicle and get back in, it temporarily fixes it until they start driving around for a bit. Has anyone else had this problem?

It looks like when the players are having the issue in the car, the verbose logging is not saying that it was notifying players that they were talking

Hello, I have problem with phone calls, when people call each other nothing happends, no errors, currently I am using onesync legacy
code

RegisterNetEvent("gcPhone:acceptCall")
AddEventHandler("gcPhone:acceptCall", function(infoCall, initiator)
  if inCall == false and USE_RTC == false then
    inCall = true
    if Config.koristiMumble then
      exports["mumble-voip"]:SetCallChannel(infoCall.id+1)
    elseif Config.koristi■■■■■■■■ then
      exports.■■■■■■■■_script:addPlayerToRadio(infoCall.id + 120)
      ■■■■■■■■ID = infoCall.id + 120
    elseif Config.koristiPMA then
      exports["pma-voice"]:setCallChannel(infoCall.id+1)
    else
      NetworkSetVoiceChannel(infoCall.id + 1)
      NetworkSetTalkerProximity(0.0)
    end
  end
  if menuIsOpen == false then 
    TooglePhone()
  end
  PhonePlayCall()
  SendNUIMessage({event = 'acceptCall', infoCall = infoCall, initiator = initiator})
end)

RegisterNetEvent("gcPhone:rejectCall")
AddEventHandler("gcPhone:rejectCall", function(infoCall)
  if inCall == true then
    inCall = false
    if Config.koristiMumble then
      exports["mumble-voip"]:SetCallChannel(0)
    elseif Config.koristi■■■■■■■■ then
      exports.■■■■■■■■_script:removePlayerFromRadio(■■■■■■■■ID)
      ■■■■■■■■ID = nil
    elseif Config.koristiPMA then 
      exports["pma-voice"]:setCallChannel(0)
    else
      Citizen.InvokeNative(0xE036A705F989E049)
      NetworkSetTalkerProximity(2.5)
    end
  end
  PhonePlayText()
  SendNUIMessage({event = 'rejectCall', infoCall = infoCall})
end)

What else am I missing?

you need too change

 exports["mumble-voip"]:SetCallChannel(infoCall.id+1)

too

 exports["pma-voice"]:SetCallChannel(infoCall.id+1)

how to see list of people in the current radio channel?

Hey for some reason, We /my server is having hearing problems and we have figured out something weird. when we have our F1 perms on it does not work. Once we exit Fivem and steam. Then re enter fivem and start talking we are perfectly fine. Has any one else have this problem, if so if you have and you have fixed it please contact me. P.s we have tried turning off and on VC through F1, settings and try going through perms on F1 vc wise. Still nothing.

Can you describe what ‘f1 perms’ are?

Where is the install instructions?

voice perms

There’s no built in list, and there likely wont be one for a while.

Though you can get everyone currently in a radio channel with

exports['pma-voice']:getPlayersInRadioChannel(channel)

Just drag n’ drop, it’ll give you a warning if you don’t set anything yourself but will work fine.

Voice perms for what, vMenu?

Affirmative

pma-voice won’t work along side vMenu, this is stated in the README.

Drag and drop[ where and do I need to rename the file or do I open folder and drag and drop those files somewhere?

Where do I drag and drop it to?

Nope, we switched back to mumble-voip and did the modifications to make it compatible to bodged-radio. 3D audio got us the effect we wanted BUT it gets rid of the submixes. So we went back to mumble which lets us have both configs working