Learn how to read replies.
I am going to type up a Tutorial that has everything in one spot
- Grab the two scripts from the links in the OP’s post
- extract them to your resources folder
- add ensure mumble-voip and then ensure rp-radio to your server.cfg
- at the top of the server.cfg somewhere add these convars
setr voice_use3dAudio true
setr voice_useSendingRangeOnly true
- make a radio item and have the script trigger
TriggerClientEvent(‘Radio.Set’, source, true) and TriggerClientEvent(‘Radio.Toggle’, source) when you use the radio item OR Change Radio.Has to True at the top of rp-radio/client.lua
then you can use the /radio command or the radio key
so does this requires teamspeak or is it all in game
This is all in-game bud using the built in Mumble Server
Can you read?
i think for the most part but its a bit confusing to me i would love if someone has like a video tutuial
I have an issue in EasyAdmin when spectating players but not hearing any voices. is there an export of mumblevoip that i need to add in EasyAdmin?
That’s because you’re not really there, unless somehow you managed to achieve this with ■■■■■■■■?
@Flawws Yeah i kinda expected this tho from my experiences with ■■■■■■■■ but im just wondering if anyone managed to get the right export to use otherwise we’ll have to go digg into this
Edit:
I see they blacklisted that name or something idk… But yeah had the same issue there then i have now.
Hows this look Mr Digital?
Does this look fairly correct to add item ‘radio’ in order to use this special in-game radio? Anything I screwed up in the resource?
###client###
RegisterNetEvent(‘mumble:onRadio’)
AddEventHandler(‘mumble:onRadio’, function()
local playerPed = GetPlayerPed(-1)
TriggerClientEvent(‘Radio.Set’, source, true)
TriggerClientEvent(‘Radio.Toggle’, source)
end)
####server####
ESX.RegisterUsableItem(‘radio’, function(source)
local _source = source
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('radio', 1)
TriggerClientEvent('mumble:onRadio', _source)
end)
why is it that others can hear me who arent on the radio
wait so does gcphone affect it or not? Cause I wanna use gcphone…
do i have to turn off something im lamba or vmenu?
Is there any reason to use such hack instead of GET_CURRENT_RESOURCE_NAME
?
Is this only for OneSync or something like this? Because i can hear all Players all over the map. I don’t have any other Voicescripts running. If this should be working without OneSync, does someone has an idea why I have this Problem?
Same problem man, dev said its my scripts but we tried everything!
How do you use the radio? I’m giving / radio and it won’t
Reading is key
i mean you could simplify this by
ESX.RegisterUsableItem('radio', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('radio', 1)
TriggerClientEvent('Radio.Set', source, true)
TriggerClientEvent('Radio.Toggle', source)
end)
so wondering bc everyone can hear me i do have osync enabled. But even if im on a diffrent channel those people who areent on that channel still here me