Documentation
  • â„šī¸Information
    • Welcome
    • Before you buy
    • Before you install
  • đŸ“ĻDependencies
    • Apex Library
      • Installation
      • Configuration
  • đŸ“ĻResources
    • đŸ›ī¸Government Jobs
      • Apex Law Enforcement
        • Installation
        • Configuration
        • Features
        • Showcase
    • đŸžī¸Activities
      • Apex Legion Park
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Mirror Park
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Vespucci Beach
        • Installation
        • Configuration
        • Features
        • Showcase
    • 💀Criminal Activies
      • Apex Cocaine Run
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Heroin Run
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Meth Run
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Weed Run
        • Installation
        • Configuration
        • Features
        • Showcase
    • đŸĸBusinesses
      • đŸĨ˜Restaurants
        • Apex Burgershot
          • Installation
          • Features
          • Showcase
        • Apex Bite
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex CafÊ Coretto
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Cat Cafe
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Cluckin' Bell
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Emerald
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Horny's Burger
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Koi Restaurant
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Noodle Exchange
          • Installation
        • Apex Pearls Seafood
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Pizza This
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Rex Diner
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Rusty Brown
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Snr Buns
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Up 'N' Atom
          • Installation
          • Configuration
          • Features
          • Showcase
      • đŸ•ēNightclubs
        • Apex Bahama Mamas
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Beach Club
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Blackwood Saloon
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Club77
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Malibu Club
          • Installation
        • Apex Matrix
          • Installation
        • Apex Galaxy
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Haute
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Peckerwood
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Tequi-la-la
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Vanilla Unicorn
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Yellow Jack
          • Installation
          • Configuration
          • Features
          • Showcase
      • 🎭Other
        • Apex Weapon Manufacturer
          • Installation
          • Configuration
          • Features
          • Showcase
Powered by GitBook
On this page
  • DEPENDENCIES
  • RESOURCE INSTALLATION GUIDE
  1. Resources
  2. Criminal Activies
  3. Apex Cocaine Run

Installation

PreviousApex Cocaine RunNextConfiguration

Last updated 1 year ago

DEPENDENCIES

REQUIRED DEPENDENCIES

Resource
Download

Apex Library

Framework

Target

Menu

Inventory

OPTIONAL DEPENDENCIES

Resource
Download

Mapping

RESOURCE INSTALLATION GUIDE

1) RESOURCE DOWNLOAD

Download your resource from .

2) RESOURCE POSITIONING

You need to make sure that apex_lib is always started before any of our scripts!

ensure apex_lib
ensure [apex] -- or ensure apex_cocainerun

3) ASSET ADDING

  1. Open apex_cocainerun > assets > inventory_images

  2. Copy files from the folder and add them into your inventory image folder

4) ITEM ADDING (QBCORE & ESX)

The first block shows the data, you'll have to put into shared/items.lua in qbcore

The second block shows the data, you'll have to put into the database in esx

['recipe_cocaine'] 	= {['name'] = 'recipe_cocaine', ['label'] = 'Cocaine Recipe', 	['weight'] = 30, ['type'] = 'item',  ['image'] = 'recipe_cocaine.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Recipe for something?'}, 
['benzocaine'] 		= {['name'] = 'benzocaine', 	['label'] = 'Benzocaine', 	['weight'] = 30, ['type'] = 'item',  ['image'] = 'benzocaine.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Benzocaine'}, 
['cement_powder'] 	= {['name'] = 'cement_powder', 	['label'] = 'Cement Powder', 	['weight'] = 30, ['type'] = 'item',  ['image'] = 'cement_powder.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Construction Material'}, 
['drugscale'] 		= {['name'] = 'drugscale', 	['label'] = 'Scale', 		['weight'] = 30, ['type'] = 'item',  ['image'] = 'drugscale.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A special Scale'}, 
['drugkit'] 		= {['name'] = 'drugkit', 	['label'] = 'Drug Kit', 	['weight'] = 30, ['type'] = 'item',  ['image'] = 'drugkit.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A kit?'}, 
['zipbags'] 		= {['name'] = 'zipbags', 	['label'] = 'Zipbags', 		['weight'] = 30, ['type'] = 'item',  ['image'] = 'zipbags.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Small bags?'}, 
['cocaine'] 		= {['name'] = 'cocaine', 	['label'] = 'Cocaine Brick', 	['weight'] = 30, ['type'] = 'item',  ['image'] = 'cocaine.png', 	['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'White Substrance'}, 
['cocaine_baggy'] 	= {['name'] = 'cocaine_baggy', 	['label'] = 'Cocaine Baggy', 	['weight'] = 30, ['type'] = 'item',  ['image'] = 'cocaine_baggy.png',   ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'White Substrance in Small bags?'}, 
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('recipe_cocaine', 'Cocaine Recipe', 10, 0, 1),
('benzocaine', 'Benzocaine', 10, 0, 1),
('cement_powder', 'Cement Powder', 10, 0, 1),
('drugscale', 'Scale', 10, 0, 1),
('drugkit', 'Drug Kit', 10, 0, 1),
('zipbags', 'Zipbags', 10, 0, 1),
('cocaine', 'Cocaine Brick', 10, 0, 1),
('cocaine_baggy', 'Cocaine Baggy', 10, 0, 1);

or

/

& /

- Druglabs

đŸ“Ļ
💀
FiveM's Keymaster
Apex Studios Tebex Store
QBCore
ESX
qb-target
ox_target
qb-menu
qb-input
ox_lib
qb-inventory
lj-inventory
ps-inventory
ox_inventory
Quasar Inventory
Mr Brown