Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.72 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.72 KB

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.

Installation

  1. Download the script.
  2. Add the script to your resources folder.
  3. Follow the (Additional Steps) below.
  4. Add ensure BC_RadialMenu to your server.cfg file.
  5. Restart your server.

Additional Steps

  1. Open the following file: ox_lib/resource/interface/client/radial.lua
  2. Add the following code to the line: 308
TriggerEvent('qb-radialmenu:client:onRadialmenuOpen')
  1. Search for the function lib.hideRadial() function and add the following code to the line: 120
TriggerEvent('qb-radialmenu:client:onRadialmenuClose')
  1. Open the file client/main.lua and modify the SetupVehicleMenu function according to your preference. (Optional)

Preview

BC_RadialMenu_480p.mp4

Supports FontAwesome Icons!

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)

Credits

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.