💻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.cfg at the Bottom.

ensure qb-nitro
  • Run 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;

Dependency Installation

Remember to start the [ox_lib] before your framework core :

-- 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',
},

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