đź› COMPATIBILITY
Having trouble with making backward compatibility for the old qb/qbx radial menu? No worries let’s take a look at how it’s done!
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!
Let’s see how its done if you are using QB-RADIALMENU
COPY CONFIGURATION
First you need to to copy your current configuration from your qb-radialmenu. You can do this by going to your qb-radialmenu
folder and copy everything inside the config.lua
file.
PASTE CONFIGURATION
After copying your configuration, you need to paste it into the config.lua
file inside the onex-radialmenu/bridge/qb-radialmenu
folder. Make sure to paste everything inside the config.lua
file.
RENAMING VARIABLE
After pasting your configuration, the next step is to rename the variable Config
to qb_Config
. This is to avoid conflicts with the Config
variable used by the onex-radialmenu script.
Lets see an example of how it looks like
Before:
Config = {}
Config.Keybind = 'F1'
Config.Toggle = false
Config.UseWhilstWalking = false
Config.EnableExtraMenu = true
Config.Fliptime = 15000
After:
qb_Config = {}
qb_Config.Keybind = 'F1'
qb_Config.Toggle = false
qb_Config.UseWhilstWalking = false
qb_Config.EnableExtraMenu = true
qb_Config.Fliptime = 15000
Please keep in mind this is just an example, you have to do the same for your entire configuration
RESTART RESOURCE
After renaming the variable, the next step is to 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.
If you have any questions or issues, feel free to reach out to us on our Discord (opens in a new tab). We're always happy to help and support our users ❤.