Skip to main content

Documentation Index

Fetch the complete documentation index at: https://axeldevelopment.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

DEPENDANCY

Framework : Esx, Qb or Qbox Target System : ‘None’ (3d text) ‘ox_target’ and ‘qb-target’ Gas Station : Axel Owned Gas Station

Petrol Can Item install

  1. open ox_inventory/data/weapons.lua add this items :
    ['WEAPON_PETROLCAN'] = {
		label = 'Gas Can',
		weight = 2000,
		description = 'Gasoline Canister',
		ammoname = 'AMMO_PETROLCAN'
	},

	['WEAPON_HAZARDCAN'] = {
		label = 'Electric Can',
		weight = 2000,
		description = 'Electric Canister',
		ammoname = 'AMMO_PETROLCAN'
	},
  1. For qb-inventory go to : qb-core/shared/items.lua add this items :

-- GASOLINE JERRY CAN
    ['weapon_petrolcan'] = {
        ['name'] = 'weapon_petrolcan',
        ['label'] = 'Gas Can',
        ['weight'] = 4000,
        ['type'] = 'weapon',
        ['ammotype'] = nil,
        ['image'] = 'weapon_petrolcan.png',
        ['unique'] = true, 	
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Gas Can'
    },

    -- ELECTRIC JERRY CAN
    ['weapon_hazardcan'] = {
        ['name'] = 'weapon_hazardcan',
        ['label'] = 'Electry Can',
        ['weight'] = 2000,
        ['type'] = 'weapon',
        ['ammotype'] = nil,
        ['image'] = 'weapon_hazardcan.png',
        ['unique'] = true, 
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Electry Can'
    },

jaksam_inventory

  • from the menu you add the item, and look carefully if the name is in lowercase letters, if not you should change it, example: weapon_petrolcan

Follow these steps to install the script:
  1. Download the script from Cfx Portal.
  2. Extract the axel_fuel folder to your resources.
  3. Set up config file
  4. Add ensure axel_fuel to your server.cfg.
  5. Restart your server and enjoy :)
  6. IN CFG
ensure axel_gasstation
ensure axel_fuel