SHOPPING CART

COMPATIBILITY đź› #

Having trouble enabling backward compatibility for the old qb/qbx radial menu? No worries—here’s how to set it up.

This script is fully compatible with ESX, QBCore, QBox, and can also be run as a STANDALONE. A key feature of this script is its built-in backward compatibility with qb-radialmenu and qbx-radialmenu, ensuring a smooth experience for users transitioning from previous setups. However, it does require configuration to fully integrate. Let’s check out how to set it up!

If you're using QB-RADIALMENU

Before making any changes, back up your original qb-radialmenu/config.lua file.

COPY CONFIGURATION#

First, copy your current configuration from your qb-radialmenu. Go to your qb-radialmenu folder and copy everything inside the config.lua file.

PASTE CONFIGURATION#

Paste it into onex-radialmenu/bridge/qb-radialmenu/config.lua.

RENAMING VARIABLE#

Rename the variable Config to qb_Config to avoid conflicts with the onex-radialmenu script.

Let’s see an example of how it looks:

Before:

qb-radialmenu/config.lua
1Config = {}
2Config.Keybind = 'F1'
3Config.Toggle = false
4Config.UseWhilstWalking = false
5Config.EnableExtraMenu = true
6Config.Fliptime = 15000

After:

onex-radialmenu/bridge/qb-radialmenu/config.lua
1qb_Config = {}
2qb_Config.Keybind = 'F1'
3qb_Config.Toggle = false
4qb_Config.UseWhilstWalking = false
5qb_Config.EnableExtraMenu = true
6qb_Config.Fliptime = 15000

Please keep in mind this is just an example—you’ll need to do the same for your entire configuration.

RESTART RESOURCE#

After renaming the variable, restart the server resource. Once done, your setup is complete.

While you can restart just the script, we strongly recommend restarting the entire server to ensure all changes are applied correctly and seamlessly.

VERIFY#

Use your configured key (for example, F1) to open the radial menu and confirm your items appear as expected.