💻Installation Guide
Make sure to follow these steps for proper installation of the Script
Script installation
Download the Script From your Keymaster and put the
[qb-nitro]folder in your resource folder.Add the following code to your
server.cfgat the Bottom.
ensure qb-nitroRun the SQL file. ( According to your Framework )
SQL installation
-- QBCore Nitrous SQL
ALTER TABLE player_vehicles
ADD COLUMN `noslevel` int(10) DEFAULT 0;
ALTER TABLE player_vehicles
ADD COLUMN `hasnitro` tinyint(4) DEFAULT 0;-- ESX Nitrous SQL
ALTER TABLE owned_vehicles
ADD COLUMN `noslevel` int(10) DEFAULT 0;
ALTER TABLE owned_vehicles
ADD COLUMN `hasnitro` tinyint(4) DEFAULT 0;
INSERT INTO `items` VALUES ('nitrous', 'NOS Bottle', 1, 0, 1);
INSERT INTO `items` VALUES ('emptynitrous', 'Empty NOS Bottle', 1, 0, 1);
Dependency Installation
Download
[ox_lib]script from the link below and make sure to download the latest release. [https://github.com/overextended/ox_lib/releases].

-- QBCore & Extra stuff
ensure ox_lib -- Start this before your Framework Core !
ensure qb-core
ensure [qb]
ensure [standalone]
ensure [voice]
ensure [defaultmaps]
ensure qb-nitro -- Start the Nitro Script here !Images Installation
Add image from images folder into your inventory path accordingly.

qb-inventory :
qb-inventory\html\images
ox_inventory :
ox_inventory\web\images
Note : Place images for other Inventories Accordingly !
Item Installation
Add these items to the inventory, and also verify that they have the correct image.
-- qb-inventory code
-- Paste the code in qb-core/shared/items.lua
['emptynitrous'] = {
['name'] = 'emptynitrous',
['label'] = 'Empty Bottle',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'emptynitrous.png',
['unique'] = true,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Empty bottle of nitrous. Go to the Mechanic to refill your bottle',
},
-- ps-inventory code
-- Paste the code in qb-core/shared/items.lua
['emptynitrous'] = {
['name'] = 'emptynitrous',
['label'] = 'Empty Bottle',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'emptynitrous.png',
['unique'] = true,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Empty bottle of nitrous. Go to Mechanic to Refill your Bottle',
['decay'] = 3.0,
['delete'] = true,
},
-- ox_inventory code
-- Paste the code in ox_inventory/data/items.lua
["emptynitrous"] = {
label = "Empty Nitrous Bottle",
weight = 1000,
stack = true,
close = true,
description = "Empty Nitrous Bottle, Go Refill it",
client = {
image = "emptynitrous.png",
},
},
-- qs-inventory code
-- Paste the code in qs-inventory/shared/items/lua
["emptynitrous"] = {
["name"] = "emptynitrous",
["label"] = "Empty Bottle",
["weight"] = 1000,
["type"] = "item",
["image"] = "emptynitrous.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Empty bottle of nitrous. Go to the Mechanic to refill your bottle",
},
Sound Installation
Only For QBCore only !
Add sound files from sounds folder into the following path.
Path: resources[standalone]\interact-sound\client\html\sounds


Last updated