Vestige Scripts
TebexDiscordYoutube
  • 🔨Tuff Script's
  • SCRIPTS
    • Tuff Advance WheelStancer
      • 💻Installation Guide
        • 🔴QBCore Trigger Installation
        • ⚪ESX Trigger Installation
      • ⚙️Config File
    • Tuff Advance Nitrous and Purge
      • 💻Installation Guide
      • ⚙️Config File
  • others
    • Discord Webhook
Powered by GitBook
On this page
  • Script installation
  • SQL installation
  • Dependency Installation
  • Images Installation
  • Item Installation
  • Sound Installation
  1. SCRIPTS
  2. Tuff Advance Nitrous and Purge

Installation Guide

Make sure to follow these steps for proper installation of the Script

PreviousTuff Advance Nitrous and PurgeNextConfig File

Last updated 10 months ago

Script installation

  • Download the Script From your 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;
-- 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. [].

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


💻
Keymaster
https://github.com/overextended/ox_lib/releases
[ox_lib] Download Instructions
Nitrous Images
Sound Files
Destination Folder to put Sound Files