Replies: 4 comments
-
|
Code blocks are ```, also there is an issue with setRadioVolume in v5 (see #155 ) |
Beta Was this translation helpful? Give feedback.
-
Thanks, I was also wondering if it was possible to make an item through ESX which would increase voice range? EX: Past the shouting range? Almost like a megaphone. |
Beta Was this translation helpful? Give feedback.
-
|
Is it possible, yes but there is no way to override proximity for pma voice currently |
Beta Was this translation helpful? Give feedback.
-
Okay, is that planned? Also anyway to make rp-radio your version an item? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I was just wondering if there was a way to increase/decrease radio volume? I coded a simple script to see if this would work and it didn't. I notice after the command was run X player couldn't hear Y player. However, you could hear them queuing up the radio. Also, I was wondering if it was possible to make an item through ESX which would increase voice range? EX: Past the shouting range?
Code for radio volume:
`
ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
RegisterCommand('rto', function(source, args, raw)
local volume = tonumber(args[1])
if volume ~= nil then
exports['pma-voice']:setRadioVolume(volume)
else
ESX.ShowNotification("
r~~hYou must enter a value between 0 - 100.")end
end)
`
Beta Was this translation helpful? Give feedback.
All reactions