My Server loves this this Radio , but when using ox inventory , when keying in the number to join the channel it pulls out what ever is in slots 1 - 5 on ox inventory any way to fix this?
Put in to the server.lua:
RegisterNetEvent(“checkradio”)
AddEventHandler(“checkradio”, function()
local xPlayer = ESX.GetPlayerFromId(source)
if xPlayer ~= nil then
local item_radio = xPlayer.getInventoryItem(‘radio’).count
if item_radio > 0 then
xPlayer.triggerEvent(“doeshaveradio”)
else
xPlayer.triggerEvent(“doesnthaveradio”)
end
end
end)
What framework are you using?
Do not. Random stuff in server.lua
won’t change anything.
esx framework
@Tutel01 - I have just published a new release which supports disconnecting from radio on item removal for ESX. You can download it here.
This function currently works only for ox_inventory and ESX.
Support for QB will be added as soon as possible.
bro you did a fantastic work man thank you very much
Thanks!
Good release, ■■■■■■■■■ version?
Thanks!
Nope. As I said above:
I don’t like the idea of using third-party software for in-game voice chat that already exists.
hi when im using radio it wont let me put it away it still in his hand and is stopping me doing anything because i have cursor on screen
hello how can i add more groups (jobs) to 1 private channel?
Hey, there’s a documentation with all config options explained.
Hey could you help me make this have like distance checks for everyone else except police, so like if two people are in radio and they are too far away the voice clarity is shit
can this be used on a vMenu server? or is it only esx?
ac_radio is a framework-standalone user interface for radio control.
The only dependency is pma-voice system.
Guess what
probably wont get a response but though i would ask how do i restrict the frequency on standalone
any idea to solve this invalid key name radio?
Use a key that is valid
Having the issue on QBCore when you input the channel number 1-5 it also uses the inventory item that is in the inventory hotbar slot.