Config.lua

In this file there are directions that you will set according to your own server.

```lua
Config = {}
-- Set your framework that you're using. Possible values: 'ESX', 'QB'
Config.framework =  'QB'
Config.Esxlegacy = false

Config.exportelsetrigger = true   --if you are using "exports["es_extended"]:getSharedObject()" or "exports["qb_core"]:GetCoreObject()" exports set this to true
--Else TriggerEvent------
Config.frameworktriggeresx = "esx:getSharedObject" -- TriggerEvent("esx:getSharedObject", function(obj) ESX = obj end)
Config.frameworktriggerqb = "QBCore:GetObject" -- TriggerEvent("QBCore:GetObject", function(obj) QBCore = obj end)

Config.nitrofuelsize = 100  -- The amount of nitro filled when the tube is used

Config.nitroamountspent = 0.05 --The config to use to adjust the amount of nitro consumed

Config.nitrorefilltime = 5000    -- Tube filling time

Config.emptynitrorefilltime = 10000  -- Empty tube filling time

Config.speed = 2.0  --With this you can set how much torque it will give.
 
Config.custombackfire = true  --set true if you want to use customizable nitro fire. To use it, read readme.txt

Config.ItemName = "nitrous"   --  item name to use

Config.emptynitroitem = "empty_nitro"  --  Item name to be used as empty item


Config.Hud = "QB"   --- For QB-Hud and PS-Hud you need to type "QB". Just type "Samy" for your own nitro gauge.

--With these settings, you can restrict vehicle and character movements while filling.
Config.disableMovement = true
Config.disableCarMovement = true
Config.disableMouse = false
Config.disableCombat = true

Config.itemcheck = true    --for ESX

Config.getquantity = true   --for ESX

Config.fueling = true   --for ESX   If you don't want to fill the tube, turn it off, but if you want to fill it, itemcheck and getquantity must be true.

--You can set the purge color to RGB. An example is given below.
--Purge Color:
Config.PurgeColorR =255/255
Config.PurgeColorG =255/255
Config.PurgeColorB =255/255

Config.nosusekeyone = 21  --When this button is used while not pressing the gas, it purges [LEFT SHÄ°FT]
Config.nosusekeytwo = 71   --This key is forward, that is, the gas key. [W]


Config.carnitrorefuelingtext = 'You are changing the tube.'  -- The text that will appear in the progress bar when you try to change the tube.

Config.emptytuberefuelingtext = 'The Tube is Filling'   -- The text that will appear in the advancing bar when you try to fill the tube.

Config.Notification = {
    ['no_fuel'] = 'no fuel!',
    ['change'] = 'Nitro tube has been changed. You have to fill the empty tube.',
    ['changetwo'] = 'Nitro tube was replaced.',
    ['emptynitrotube'] = 'There Is No Empty Nitro Tube On It',
    ['emptynitrotuberefill'] = 'You filled the empty nitro bottle.',
    ['noemptynitrotube'] = 'No Empty Nitro Tube.',
    ['max_nitro'] = 'Nitro tank at maximum level!',
    ['fullnitro'] = 'Nitro is still available!',
    ['no_vehicles'] = 'You are not in the car'
}

```

Last updated