m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • ๐Ÿš—[QB] TunerJob
        • ๐Ÿ› ๏ธInstallation
        • โ“Common Questions
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿž[QB] BeanMachine
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ”[QB] Burgershot
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿˆ[QB] CoolBeans
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿšš[QB] Deliveries
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“ƒConfig
          • ๐Ÿ“ƒconfig_functions
      • ๐ŸŽ[QB] Farming
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐ŸŸ[QB] Fishing
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • ๐Ÿ“„config_diving
          • ๐Ÿ“„config_fishingnet
          • ๐Ÿ“„config_fishingrod
          • ๐Ÿ“„config_functions
          • ๐Ÿ“„config_language
          • ๐Ÿ“„config_seashells
          • ๐Ÿ“„config_tournament
          • ๐Ÿ“„config_upgrades
      • ๐Ÿš›[QB] Garbage
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ—๏ธ[QB] GoldRush
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • โ›ฐ๏ธ[QB] Hunting
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿชต[QB] Lumberjack
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • โ›๏ธ[QB] Mining
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ›ข๏ธ[QB] Oil Factory
        • ๐Ÿ› ๏ธInstallation
        • โ“Common Questions
        • ๐Ÿ—’๏ธConfig
      • โ˜•[QB] Pond Coffee
        • ๐Ÿ› ๏ธInstallation
        • โ“Common Questions
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿšš[QB] Trucker
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • ๐Ÿ“„Functions
          • ๐Ÿ“„Language
      • ๐Ÿฅƒ[QB] Vanilla
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ›ป[QB] Mechanic Run
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿฅƒ[QB] Bahamas
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿ”ซ[QB] Ammunation
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐ŸŸ[QB] Pearls
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿ”“[QB] Impound
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
        • โœ…Garages
      • ๐Ÿš˜[QB] Vehicleshop
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Job
          • Language
        • โ“Common Questions
    • General
      • ๐Ÿ•๏ธ[QB] Camping
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Consumables
          • Language
      • ๐ŸŽ„[QB] Christmas
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐ŸŽƒ[QB] Halloween
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ“”[QB] Insurance
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ–ฅ๏ธCompatibilities
        • ๐Ÿ—’๏ธConfig
        • ๐Ÿ”Server-Exports
      • ๐Ÿ˜๏ธ[QB] Vespucci
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • ๐Ÿ–๏ธ[QB] Beach Activities
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿš˜[QB] Car Rental
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
        • ๐Ÿ–ฅ๏ธCompatibilities
      • โœˆ๏ธ[QB] Sky Racing
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿš˜[QB] Car Wash
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿชจ[QB] Grinder
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿ“น[QB] SpyCams & CCTV's
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿ [QB] Motel
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
        • ๐Ÿ–ฅ๏ธCompatibilities
      • ๐Ÿš๏ธ[QB] Job Center
        • ๐Ÿ“„Config
      • ๐Ÿ› ๏ธ[QB] Crafting
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Language
    • Illegal
      • ๐Ÿ”ซ[QB] Gangs
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ””[QB] Drug Selling
        • ๐Ÿ—’๏ธConfig
      • ๐ŸŒฑ[QB] Drugs
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿฏ[QB] Craft Potion
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ…ฑ๏ธ[QB] Blackmarket
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • config_functions
          • config_language
      • ๐Ÿš—[QB] Car Thief
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ [QB] House Robbery
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ’Ž[QB] Jewelry
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Functions
          • Language
      • ยฎ๏ธ[QB] Mini Robberys
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ’ฐ[QB] MoneyWash
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Functions
          • Language
      • ๐Ÿ”ซ[QB] Rob NPC
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿƒโ€โ™‚๏ธ[QB] Runs
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Functions
          • Language
      • โ›ฝ[QB] Steal Fuel
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Functions
          • Language
      • ๐Ÿฌ[QB] Store Robbery
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Functions
          • Language
      • ๐Ÿช›[QB] Scrapyard
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • Functions
          • Language
      • ๐Ÿ‘พ[QB] Territories
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
      • ๐Ÿจ[QB] GoPostal
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • ๐Ÿš—[ESX] Tunerjob
        • โ—Dependencies
        • ๐Ÿ› ๏ธInstallation
          • โ„น๏ธOX-Inventory
          • โ„น๏ธQS-Inventory
        • ๐Ÿ—’๏ธConfig
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • โ“Common Questions
      • ๐Ÿšš[ESX] Trucker
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • ๐Ÿ“„Functions
          • ๐Ÿ“„Language
      • ๐Ÿชต[ESX] Lumberjack
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ›ป[ESX] Mechanic Run
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • โ›๏ธ[ESX] Mining
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐ŸŽฃ[ESX] Fishing
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • ๐Ÿš˜[ESX] Car Rental
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ“ƒ[ESX] Insurance
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ–ฅ๏ธCompatibilities
        • ๐Ÿ“„Config
        • ๐Ÿ” Server-Exports
      • ๐Ÿš˜[ESX] Car Wash
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
      • ๐Ÿ“น[ESX] SpyCams & CCTV's
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
        • ๐Ÿ [ESX] Motel
          • ๐Ÿ› ๏ธInstallation
          • ๐Ÿ“„Config
          • ๐Ÿ–ฅ๏ธCompatibilities
      • ๐Ÿ› ๏ธ[ESX] Crafting
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Language
      • ๐ŸŽ„[ESX] Christmas
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Configs
    • Illegal
      • ๐Ÿ”ซ[ESX] Gangs
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
        • โ“Common Questions
      • ๐Ÿ…ฑ๏ธ[ESX] Blackmarket
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
          • config_functions
          • config_language
      • ๐Ÿจ[ESX] GoPostal
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • ๐Ÿš—Car Rebuild
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ—’๏ธConfig
      • ๐Ÿ—บ๏ธCity Guide
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“„Config
          • Functions
          • Language
      • ๐Ÿ›’Shops
        • ๐Ÿ“„Config
        • ๐Ÿ› ๏ธInstallation
      • ๐Ÿ”Reputation
        • ๐Ÿ“„Config
        • ๐Ÿ› ๏ธInstallation
        • โ‰๏ธExports & Commands
          • Server Exports
          • Commands
      • ๐Ÿ’คAFK System
        • ๐Ÿ“„Configs
        • ๐Ÿ› ๏ธInstallation
      • ๐Ÿš—Garages
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“‘User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
      • โœˆ๏ธAirplane Job
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“ƒConfigs
        • โ„น๏ธExports
      • ๐Ÿ“‹Scoreboard
        • ๐Ÿ“ƒConfig
      • ๐Ÿ“ฆStorageUnits
        • ๐Ÿ› ๏ธInstallation
        • ๐Ÿ“ƒConfig
Powered by GitBook
On this page
  • Items Installation
  • Metadata Installation
  1. QBCore
  2. Jobs
  3. [QB] Oil Factory

Installation

Items Installation

['m_aincientcoin']          	= {['name'] = 'm_aincientcoin',        	['label'] = 'Aincient Coin',         	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_aincientcoin.png',       ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_antiquecoin']          	= {['name'] = 'm_antiquecoin',       	['label'] = 'Antique Coin',          	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_antiquecoin.png',        ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_brokenknife']          	= {['name'] = 'm_brokenknife',       	['label'] = 'Broken Knife',          	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_brokenknife.png',        ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_burriedtreasure']       	= {['name'] = 'm_burriedtreasure',      ['label'] = 'Burried Treasure',      	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_burriedtreasure.png',    ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_diamond_ring']       	= {['name'] = 'm_diamond_ring',      	['label'] = 'Diamond Ring',      	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_diamond_ring.png',       ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_goldchain']       		= {['name'] = 'm_goldchain',      	['label'] = 'Gold Chain',      		['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_goldchain.png',          ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_goldcoin']       		= {['name'] = 'm_goldcoin',      	['label'] = 'Gold Coin',      		['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_goldcoin.png',           ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_phonebroken']       	= {['name'] = 'm_phonebroken',      	['label'] = 'Phone Broken',      	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_phonebroken.png',        ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_pickaxe']       		= {['name'] = 'm_pickaxe',      	['label'] = 'Broken Pickaxe',      	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_pickaxe.png',            ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_pocketwatch']       	= {['name'] = 'm_pocketwatch',      	['label'] = 'Broken Pocket Watch',      ['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_pocketwatch.png',        ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_steelcan']       		= {['name'] = 'm_steelcan',      	['label'] = 'Steel Can',      		['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_steelcan.png',           ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['m_treasurekey']       	= {['name'] = 'm_treasurekey',      	['label'] = 'Treasure Key',      	['weight'] = 0,         ['type'] = 'item',         	['image'] = 'm_treasurekey.png',        ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
["m_oil"] 			= {["name"] = "m_oil", 			["label"] = "Oil", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_oil.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_gas_2l"] 			= {["name"] = "m_gas_2l", 		["label"] = "Gรกs 2L", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_gas_2l.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_gold"] 			= {["name"] = "m_gold", 		["label"] = "Gold", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_gold.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_stone"] 			= {["name"] = "m_stone", 		["label"] = "Stone", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_stone.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_silver"] 			= {["name"] = "m_silver", 		["label"] = "Silver", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_silver.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_diamond"] 			= {["name"] = "m_diamond", 		["label"] = "Diamond", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_diamond.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_wood"] 			= {["name"] = "m_wood", 		["label"] = "Wood", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_wood.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["m_iron"] 			= {["name"] = "m_iron", 		["label"] = "Iron", 			["weight"] = 50, 	["type"] = "item", 		["image"] = "m_iron.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
['m_aincientcoin'] = { label = 'Aincient Coin', weight = 0, stack = true, allowArmed = false },
['m_antiquecoin'] = { label = 'Antique Coin', weight = 0, stack = true, allowArmed = false },
['m_brokenknife'] = { label = 'Broken Knife', weight = 0, stack = true, allowArmed = false },
['m_burriedtreasure'] = { label = 'Burried Treasure', weight = 0, stack = true, allowArmed = false },
['m_diamond_ring'] = { label = 'Diamond Ring', weight = 0, stack = true, allowArmed = false },
['m_goldchain'] = { label = 'Gold Chain', weight = 0, stack = true, allowArmed = false },
['m_goldcoin'] = { label = 'Gold Coin', weight = 0, stack = true, allowArmed = false },
['m_phonebroken'] = { label = 'Phone Broken', weight = 0, stack = true, allowArmed = false },
['m_pickaxe'] = { label = 'Broken Pickaxe', weight = 0, stack = true, allowArmed = false },
['m_pocketwatch'] = { label = 'Broken Pocket Watch', weight = 0, stack = true, allowArmed = false },
['m_steelcan'] = { label = 'Steel Can', weight = 0, stack = true, allowArmed = false },
['m_treasurekey'] = { label = 'Treasure Key', weight = 0, stack = true, allowArmed = false },
['m_oil'] = { label = 'Oil', weight = 50, stack = true, allowArmed = false },
['m_gas_2l'] = { label = 'Gรกs 2L', weight = 50, stack = true, allowArmed = false },
['m_gold'] = { label = 'Gold', weight = 50, stack = true, allowArmed = false },
['m_stone'] = { label = 'Stone', weight = 50, stack = true, allowArmed = false },
['m_silver'] = { label = 'Silver', weight = 50, stack = true, allowArmed = false },
['m_diamond'] = { label = 'Diamond', weight = 50, stack = true, allowArmed = false },
['m_wood'] = { label = 'Wood', weight = 50, stack = true, allowArmed = false },
['m_iron'] = { label = 'Iron', weight = 50, stack = true, allowArmed = false },

Metadata Installation

PlayerData.metadata['oilfactoryxp'] = PlayerData.metadata['oilfactoryxp'] or 0
metadata = {
    oilfactoryxp = 0,
}
Previous[QB] Oil FactoryNextCommon Questions

Last updated 2 months ago

๐Ÿ›ข๏ธ
๐Ÿ› ๏ธ