This is a script similar to qb-radialmenu but just with the support for QBCore Users, Intending to use ox_lib radialmenu for their server.
- Download the script.
- Add the script to your resources folder.
- Follow the (Additional Steps) below.
- Add
ensure BC_RadialMenu
to your server.cfg file. - Restart your server.
- Open the following file:
ox_lib/resource/interface/client/radial.lua
- Add the following code to the line: 308
TriggerEvent('qb-radialmenu:client:onRadialmenuOpen')
- Search for the
function lib.hideRadial()
function and add the following code to the line: 120
TriggerEvent('qb-radialmenu:client:onRadialmenuClose')
- Open the file
client/main.lua
and modify the SetupVehicleMenu function according to your preference. (Optional)
BC_RadialMenu_480p.mp4
Get the name from FontAwesome and use the icon's name in the config.lua for the icon (no fa-
or #
just the name like arrow-right
)
This script was initially made by QBOX and we do not own this code. We have just made it compatible with QBCore. All credits go to the original creator.