qb-radialmenu | QBCore Documentation (2024)

Introduction

  • Similar to qb-menu , this NUI menu allows for multiple actions to be done and is configurable based on job

This menu can be heavily modified to change its behavior based on a number of different scenarios such as where the player is located and more!

Supports up to Font Awesome version 6.1.1

Preview

Configuration

General

Config = {}Config.EnableExtraMenu = true -- enable/disable vehicle extra's menuConfig.ExtrasEnabled = true -- enable/disable the extra clothing commands

Read USAGE EXAMPLE BELOW before attempting to use this menu!!

Usage example

When looking at the config it can be intimidating but read this format and it will help!

Config.MenuItems = { -- this is the main table for the menu and is not job locked [1] = { -- index of the menu option, this must be in order numerically id = 'mainmenu', -- id of the menu option, this must be unique! title = 'Main Menu Option', -- title shown on the menu option icon = 'bars', -- icon shown on the menu option items = { -- anything in the items table is considered a sub menu! { id = 'submenu', title = 'Sub Menu Option', icon = 'bars', type = '', -- event type to call, client/server event = '', -- event name to call shouldClose = true -- enable/disable menu closing on click }, { -- example of adding another sub menu item id = 'submenu2', title = 'Another Sub Menu', icon = 'bar', items = { -- example of adding a sub menu inside a sub menu { id = 'nestedsubmenu', title = 'Nested Sub Menu Option', icon = 'bars', type = '', -- event type to call, client/server/command/qbcommand event = '', -- event name, command name shouldClose = true -- enable/disable menu closing on click } } }, } }, [2] = { -- example of adding another main menu item id = 'mainmenu2', title = 'Another main menu item', icon = 'bars', items = { { id = 'submenu3', title = 'Sub Menu', icon = 'bars', type = '', event = '', shouldClose = true }, } }}

Job menu

Config.JobInteractions = { ["taxi"] = { -- menu index is the job name, must match! { id = 'togglemeter', title = 'Show/Hide Meter', icon = 'eye-slash', type = 'client', event = 'qb-taxi:client:toggleMeter', shouldClose = false }, { id = 'togglemouse', title = 'Start/Stop Meter', icon = 'hourglass-start', type = 'client', event = 'qb-taxi:client:enableMeter', shouldClose = true }, { id = 'npc_mission', title = 'NPC Mission', icon = 'taxi', type = 'client', event = 'qb-taxi:client:DoTaxiNpc', shouldClose = true } }}

Vehicle trunks

Config.TrunkClasses = { -- vehicle class, enable/disable trunk access, rotation [0] = {allowed = true, x = 0.0, y = -1.5, z = 0.0}, -- Coupes [1] = {allowed = true, x = 0.0, y = -2.0, z = 0.0}, -- Sedans [2] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- SUVs [3] = {allowed = true, x = 0.0, y = -1.5, z = 0.0}, -- Coupes [4] = {allowed = true, x = 0.0, y = -2.0, z = 0.0}, -- Muscle [5] = {allowed = true, x = 0.0, y = -2.0, z = 0.0}, -- Sports Classics [6] = {allowed = true, x = 0.0, y = -2.0, z = 0.0}, -- Sports [7] = {allowed = true, x = 0.0, y = -2.0, z = 0.0}, -- Super [8] = {allowed = false, x = 0.0, y = -1.0, z = 0.25}, -- Motorcycles [9] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Off-road [10] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Industrial [11] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Utility [12] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Vans [13] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Cycles [14] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Boats [15] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Helicopters [16] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Planes [17] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Service [18] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Emergency [19] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Military [20] = {allowed = true, x = 0.0, y = -1.0, z = 0.25}, -- Commercial [21] = {allowed = true, x = 0.0, y = -1.0, z = 0.25} -- Trains}

Vehicle seats

Config.VehicleSeats = { id = 'vehicleseats', title = 'Vehicle Seats', icon = 'chair', items = {} -- dynamically changed depending on vehicle, don't edit}

Vehicle extras

Config.VehicleExtras = { id = 'vehicleextras', title = 'Vehicle Extras', icon = 'plus', items = { { id = 'extra1', title = 'Extra 1', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra2', title = 'Extra 2', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra3', title = 'Extra 3', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra4', title = 'Extra 4', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra5', title = 'Extra 5', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra6', title = 'Extra 6', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra7', title = 'Extra 7', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra8', title = 'Extra 8', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra9', title = 'Extra 9', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra10', title = 'Extra 10', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra11', title = 'Extra 11', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra12', title = 'Extra 12', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false }, { id = 'extra13', title = 'Extra 13', icon = 'box-open', type = 'client', event = 'qb-radialmenu:client:setExtra', shouldClose = false } }}

Vehicle doors

Config.VehicleDoors = { id = 'vehicledoors', title = 'Vehicle Doors', icon = 'car-side', items = { { id = 'door0', title = 'Drivers door', icon = 'car-side', type = 'client', event = 'qb-radialmenu:client:openDoor', shouldClose = false }, { id = 'door4', title = 'Hood', icon = 'car', type = 'client', event = 'qb-radialmenu:client:openDoor', shouldClose = false }, { id = 'door1', title = 'Passengers door', icon = 'car-side', type = 'client', event = 'qb-radialmenu:client:openDoor', shouldClose = false }, { id = 'door3', title = 'Right rear', icon = 'car-side', type = 'client', event = 'qb-radialmenu:client:openDoor', shouldClose = false }, { id = 'door5', title = 'Trunk', icon = 'car', type = 'client', event = 'qb-radialmenu:client:openDoor', shouldClose = false }, { id = 'door2', title = 'Left rear', icon = 'car-side', type = 'client', event = 'qb-radialmenu:client:openDoor', shouldClose = false } }}

Clothing commands

You should not have to touch any of this other than the menu labels to translate

Config.Commands = { ["top"] = { Func = function() ToggleClothing("Top") end, Sprite = "top", Desc = "Take your shirt off/on", Button = 1, Name = "Torso" }, ["gloves"] = { Func = function() ToggleClothing("gloves") end, Sprite = "gloves", Desc = "Take your gloves off/on", Button = 2, Name = "Gloves" }, ["visor"] = { Func = function() ToggleProps("visor") end, Sprite = "visor", Desc = "Toggle hat variation", Button = 3, Name = "Visor" }, ["bag"] = { Func = function() ToggleClothing("Bag") end, Sprite = "bag", Desc = "Opens or closes your bag", Button = 8, Name = "Bag" }, ["shoes"] = { Func = function() ToggleClothing("Shoes") end, Sprite = "shoes", Desc = "Take your shoes off/on", Button = 5, Name = "Shoes" }, ["vest"] = { Func = function() ToggleClothing("Vest") end, Sprite = "vest", Desc = "Take your vest off/on", Button = 14, Name = "Vest" }, ["hair"] = { Func = function() ToggleClothing("hair") end, Sprite = "hair", Desc = "Put your hair up/down/in a bun/ponytail.", Button = 7, Name = "Hair" }, ["hat"] = { Func = function() ToggleProps("Hat") end, Sprite = "hat", Desc = "Take your hat off/on", Button = 4, Name = "Hat" }, ["glasses"] = { Func = function() ToggleProps("Glasses") end, Sprite = "glasses", Desc = "Take your glasses off/on", Button = 9, Name = "Glasses" }, ["ear"] = { Func = function() ToggleProps("Ear") end, Sprite = "ear", Desc = "Take your ear accessory off/on", Button = 10, Name = "Ear" }, ["neck"] = { Func = function() ToggleClothing("Neck") end, Sprite = "neck", Desc = "Take your neck accessory off/on", Button = 11, Name = "Neck" }, ["watch"] = { Func = function() ToggleProps("Watch") end, Sprite = "watch", Desc = "Take your watch off/on", Button = 12, Name = "Watch", Rotation = 5.0 }, ["bracelet"] = { Func = function() ToggleProps("Bracelet") end, Sprite = "bracelet", Desc = "Take your bracelet off/on", Button = 13, Name = "Bracelet" }, ["mask"] = { Func = function() ToggleClothing("Mask") end, Sprite = "mask", Desc = "Take your mask off/on", Button = 6, Name = "Mask" }}local bags = {[40] = true, [41] = true, [44] = true, [45] = true}Config.ExtraCommands = { ["pants"] = { Func = function() ToggleClothing("Pants", true) end, Sprite = "pants", Desc = "Take your pants off/on", Name = "Pants", OffsetX = -0.04, OffsetY = 0.0 }, ["shirt"] = { Func = function() ToggleClothing("Shirt", true) end, Sprite = "shirt", Desc = "Take your shirt off/on", Name = "shirt", OffsetX = 0.04, OffsetY = 0.0 }, ["reset"] = { Func = function() if not ResetClothing(true) then Notify('Nothing To Reset', 'error') end end, Sprite = "reset", Desc = "Revert everything back to normal", Name = "reset", OffsetX = 0.12, OffsetY = 0.2, Rotate = true }, ["bagoff"] = { Func = function() ToggleClothing("Bagoff", true) end, Sprite = "bagoff", SpriteFunc = function() local Bag = GetPedDrawableVariation(PlayerPedId(), 5) local BagOff = LastEquipped["Bagoff"] if LastEquipped["Bagoff"] then if bags[BagOff.Drawable] then return "bagoff" else return "paraoff" end end if Bag ~= 0 then if bags[Bag] then return "bagoff" else return "paraoff" end else return false end end, Desc = "Take your bag off/on", Name = "bagoff", OffsetX = -0.12, OffsetY = 0.2 }}
qb-radialmenu | QBCore Documentation (2024)

FAQs

What is the radial menu for QB? ›

The qb radialmenu is a particularly innovative implementation of this concept, designed to enhance user interfaces by offering a visually appealing and user-friendly menu system. For developers working with the qb core framework, the qb radialmenu can be a game-changer.

What is the QBCore framework? ›

QBCore is an ever-expanding framework for Grand Theft Auto V utilizing the FiveM platform. It offers extensive customization, ease of use, ongoing maintenance and active support!

What is the difference between ESX and QBCore framework? ›

Since version 1.9. 0, ESX has been optimised for better performance. QBCore is a framework that focuses on performance and flexibility. It uses a more object-oriented approach and offers modern features optimised for FiveM servers.

How to open QBCore admin menu? ›

Commands
  1. /admin - opens the admin menu. Opens the admin menu. ...
  2. /blips - toggles player blips. ...
  3. /names - toggles player names. ...
  4. /coords - shows your current coords. ...
  5. /maxmods - sets vehicle to max mods. ...
  6. /noclip - toggles noclip. ...
  7. /admincar - adds current vehicle to garage. ...
  8. /announce [message] - creates an announcement.
Aug 4, 2022

What is a QB target? ›

qb-target is a targeting solution that allows interaction with any predefined entity, model, entity type or polyzone. While activated you can easily and safely replace markers and distance checking, instead relying on intuitive design to improve player experiences and optimize interaction.

What does esx mean in FiveM? ›

ESX(also known as es_extended) is an RPG Framework for FiveM servers, a must-have for roleplay servers and one of the most popular scripts in the community, most of the FiveM servers use ESX for their grand quantity of functions and possibilities like jobs and economy which contributes to bringing life to the city!

What is the 4e framework? ›

Marketers apply the 4-E framework to think about the objectives of marketing objectives, aimed at various preselected and highly focused audiences: E 1 = Excite, E 2 = Educate, E 3 = Experience, and E 4 = Engage (Figure 1). ...

What is QBx FiveM? ›

Qbox is an advanced core with a load of bloat. Commonly known as a Framework. Aiming to deliver high quality and industry standard resources. Optimisation and Code security are of the upmost importance too us. Focused on RolePlay worthy resources that are usable on the FiveM platform.

Is ESX a hypervisor? ›

Architecture

Both ESX and ESXi are type-1 hypervisors, which means they operate without the service of an OS. They just run on the hardware itself. Because of this, they are ahead of VirtualBox, VMware Workstation, and other type-2 hypervisors that run on top of an operating system.

Is ESX based on Linux or Windows? ›

ESX runs on bare metal (without running an operating system) unlike other VMware products. It includes its own kernel. In the historic VMware ESX, a Linux kernel was started first and then used to load a variety of specialized virtualization components, including ESX, which is otherwise known as the vmkernel component.

What is the difference between Solidjs and RxJS? ›

RxJS is a Reactive library. While Solid has a similar idea of Observable data it uses a much different application of the observer pattern.

How do I run admin panel? ›

Running the windows control panel as an administrator can be hard if you don't know how to do it here is how to do it.
  1. Step 1: Create a Shortcut. Right click on the desktop and make a new shortcut. ...
  2. Step 2: Name the Shortcut. ...
  3. Step 3: Right Click. ...
  4. Step 4: Always Run As Admin. ...
  5. Step 5: The End.

How to use the txAdmin menu? ›

Accessing the Menu

You can access the menu in-game by using the command /tx or /txadmin , alternatively you can also use a keybind by going to Game Settings > Key Bindings > FiveM and setting the (txAdmin) Menu: Open Main Page option.

How to enable txAdmin? ›

Enabling txAdmin
  1. Go to the Server Startup section in the RocketNode Panel.
  2. Click enable under the txAdmin variable.
  3. Restart your server.
  4. Click on txAdmin under the txAdmin variable to access your web panel.

What is the framework for equitable instruction? ›

The FEI is an instruction-focused resource designed to promote the equitable engagement in disciplinary learning and language development of multilingual learners.

What is the purpose of performance framework? ›

The performance framework is, in effect, a summary of the key internal processes and components through which the Council sets, delivers, monitors and reports on its priorities; as such it encompasses elements of strategy, finance, performance, people and risk management, and reporting and accountability.

What is the framework for performance measurement system? ›

In order to effectively measure actual performance against the set targets or benchmarks, you need to establish a plan for collecting and analyzing the necessary performance data or information. This plan must describe the methods and techniques of collection and analysis and the frequency of collection.

What is the performance assessment framework? ›

Performance Assessment is an evaluation method where students showcase their competencies through original responses, which are then judged based on predetermined criteria and observation.

Top Articles
OSRS Rune Pure Guide
OSRS Void Pure Guide
'That's Hilarious': Ahsoka's Ezra Bridger Actor Reveals Surprising True-To-Life Detail Behind Sabine Reunion Scene
Craigslist Bellmore
M3Gan Showtimes Near Cinemark Movies 8 - Paris
Tmobile Ipad 10Th Gen
Cbs Week 10 Trade Value Chart
8776685260
Deshaun Watson Timeline: What Has Occurred Since First Lawsuit Filed
Discover the Hidden Gems of Greenbush MI: A Charming Lakeside Retreat - 200smichigan.com (UPDATE 👍)
Black Adam Movies123
Craigslist/Phx
On Trigger Enter Unity
What Is Flipping Straights Ted Lasso
Hydro Quebec Power Outage Map
Po Box 6726 Portland Or 97228
Ta Travel Center Las Cruces Photos
Neighborhood Walmart Pharmacy Hours
Randolph Leader Obits
Eggy Car Unblocked - Chrome Web Store
Syncb Ameg D
Booty Chaser Bingo Locations In Minnesota
2023 GMC Yukon Price, Cost-to-Own, Reviews & More | Kelley Blue Book
New York Rangers Hfboards
Cheap Motorcycles For Sale Under 1000 Craigslist Near Me
Metv Plus Schedule Today Near Texas
Milanka Kudel Telegram
10 Best-Performing Bi-Directional Scan Tools in 2023 (Full Control)
Community Q&A with Red Flight and the Combat Box server
Lost Ark Thar Rapport Unlock
Squeezequeens
Venus Nail Lounge Lake Elsinore
Craftybase Coupon
Po Box 182223 Chattanooga Tn 37422 7223
Conan Exiles Meteor Shower Command
Comcast Xfinity Outage in Kipton, Ohio
Why Larry the cat of 10 Downing Street wishes Starmer hadn’t won the election
Let's Take a Look Inside the 2024 Hyundai Elantra - Kelley Blue Book
Swrj Mugshots Logan Wv
Lavender Dreams Nails Walnut Creek Photos
Personapay/Glens Falls Hospital
How Much Does Costco Gas Cost Today? Snapshot of Prices Across the U.S. | CostContessa
Mathews Vertix Mod Chart
Honquest Obituaries
'It's huge': Will Louisville's Logan Street be the next Findlay or Pike Place market?
Gelöst – Externe Festplatte kann nicht formatiert werden
What is 9xMovies - Everything You Need to Know with Best Alternatives 2023-LDPlayer's Choice-LDPlayer
Leader of multi-state identity fraud ring sentenced to federal prison
Reli Stocktwits
What Time Does The Chase Bank Close On Saturday
Craig List El Paso Tx
Sky Zone Hours Omaha
Latest Posts
Article information

Author: Rubie Ullrich

Last Updated:

Views: 5983

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Rubie Ullrich

Birthday: 1998-02-02

Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

Phone: +2202978377583

Job: Administration Engineer

Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.