Zerio RadioFrequently asked questions

Frequently asked questions

A list of frequently asked questions can be seen below.

If this is empty and you have a question, please turn to the support in our community server instead!

How to set-up the radio as an item

In most inventories, except for ox_inventory and other inventories that store their usage callbacks locally. You’d simply have to go to the zerio-radio/shared/opentype.lua file. And change Shared.OpenType.Value to "item".

How to set-up the radio scanner as an item

In most inventories, except for ox_inventory and other inventories that store their usage callbacks locally. You’d simply have to go to the zerio-radio/shared/scanner.lua file. And change Shared.Scanner.OpenType to "item".

I have issues with mic clicks.

If you’re using pma-voice and do not get “mic clicks” when using the radio, remove this line from pma-voice.

💡

Please note: The line number for older versions of pma-voice is 220, and newer is 232. The line you should be removing is the “if check” line in the “playMicClicks” function.

Image of the line to remove

Players can cancel combat rolls by talking over the radio.

This gets caused by zerio-radio trying to put away the weapon when talking over the radio, which you can disable by setting Shared.RemoveWeaponOnTalkingOnRadio to false in zerio-radio/shared/main.lua.

How do I disable pma-voice’s default animation?

For zerio-radio to be able to play its animation’s, you need to disable pma-voice’s default radio animations, as they otherwise overwrite zerio-radio’s animations.

You can do this by adding the following snippet to your server.cfg file:

setr voice_enableRadioAnim 0

Disconnect player on item drop.

💡

The following does not apply to ox_inventory. This is automatically handled if you use the snippet above.

Open the es_extended/server/classes/player.lua file. Then find the function named removeInventoryItem.

We want to add the following snippet after the line triggering esx:removeInventoryItem.

if tostring(itemName) == "radio" and newCount == 0 then
    TriggerClientEvent("zerio-radio:client:removedradio", self.source)
end

Animations & Props

Change/disable talking animation

You can disable the talking animation by removing/commenting out the TalkAnimation value in zerio-radio/shared/animation.lua.

Changing the animation would be done via the sub values of TalkAnimation.

Change/disable open animation

Changing the animation played upon opening the radio can be done via the OpenAnimation subvalues.

Disabling the animation can be done via removing/commenting out the OpenAnimation value.

Change/disable talking prop

Changing the talking prop can be done via the TalkProp subvalues.

💡

List of player bones can be found here. You’d use the ID value.

Disabling the talking prop can be done by removing/commenting out the TalkProp value.

Change/disable open prop

Changing the prop spawned when opening the radio can be done via the OpenProp.

💡

List of player bones can be found here. You’d use the ID value.

Disabling the talking prop can be done by removing/commenting out the OpenProp value