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".

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