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
10 Reasons Your Right Hand Is Itching (Wealth and Luck)
Right Hand Itching Spiritual Meaning (Explained Symbolism)
Camera instructions (NEW)
No Hard Feelings Showtimes Near Metropolitan Fiesta 5 Theatre
Tabler Oklahoma
House Share: What we learned living with strangers
Tugboat Information
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
PGA of America leaving Palm Beach Gardens for Frisco, Texas
Shariraye Update
The Witcher 3 Wild Hunt: Map of important locations M19
2015 Honda Fit EX-L for sale - Seattle, WA - craigslist
Panorama Charter Portal
Directions To 401 East Chestnut Street Louisville Kentucky
Char-Em Isd
Abortion Bans Have Delayed Emergency Medical Care. In Georgia, Experts Say This Mother’s Death Was Preventable.
Sonic Fan Games Hq
List of all the Castle's Secret Stars - Super Mario 64 Guide - IGN
Csi Tv Series Wiki
Whitefish Bay Calendar
Nevermore: What Doesn't Kill
Craigslist Appomattox Va
Mail.zsthost Change Password
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
Gazette Obituary Colorado Springs
Certain Red Dye Nyt Crossword
Red8 Data Entry Job
Anotherdeadfairy
6 Most Trusted Pheromone perfumes of 2024 for Winning Over Women
Breckiehill Shower Cucumber
Craigslist Apartments In Philly
Malluvilla In Malayalam Movies Download
Egusd Lunch Menu
8002905511
Grave Digger Wynncraft
R/Mp5
Deepwoken: Best Attunement Tier List - Item Level Gaming
100 Million Naira In Dollars
Laveen Modern Dentistry And Orthodontics Laveen Village Az
Morlan Chevrolet Sikeston
Old Peterbilt For Sale Craigslist
Montrose Colorado Sheriff's Department
Manatee County Recorder Of Deeds
Danielle Ranslow Obituary
Craigslist Antique
The Great Brian Last
Port Huron Newspaper
Sherwin Source Intranet
New Zero Turn Mowers For Sale Near Me
2487872771
Obituaries in Westchester, NY | The Journal News
Lux Nails & Spa
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.