AC Radio – simple UI for radio control

I have downloaded your latest released from github v1.1.0, I’m using an ‘ox_inventory’ and the latest esx legacy framework, however when I tried to use the item ‘radio’ from my ‘ox_inventory’, it won’t show the radio, I don’t want to use the command because I want the radio to depend on durability, then I tried adding this codes in server.lua

ESX = exports[“es_extended”]:getSharedObject()

ESX.RegisterUsableItem(‘radio’, function(source)
TriggerClientEvent(‘ac_radio:openRadio’, source)
end)

After adding the above code, the item ‘radio’ is now usable with the ac_radio script, however when I tried to remove or drop the item ‘radio’ I’m still connected to the frequency, also even the item ‘radio’ is depleted I can still use the radio, so far so good, can you help us fix this?

the volume buttons dont turn up the volume

Same here, U found any fix?

@antond1

Hello , Can you sent me the server.lua with that codes in it please ?
Im so stpd xD

If you’re using ox_inventory, register the item as described in the docs.

@Carson.James @V.Josh

Update pma-voice and ac_radio to latest versions.

I have already tried that

Hi, when i press set preset and click on 1 or 2 it doesnt do anything

how to open radio with command

My volume will not increase past 10%. What can I do to fix this?

when youre in a frequency and drop the item you can still talk in the frequency and you will not be disconnected?

Depends on the configuration of the script

its working now but i only want to add when ur in the water then disconnect from the frequency u know how?