DGserv Développement
  • Documentation des scripts DGserv
  • INFORMATION
    • 🛒Boutique Tebex
    • 🆘Discord DGserv
    • 🇻🇳Youtube
  • Base FiveM
    • ESX_CORE
      • Installation
        • Étape 1
        • Étape 2
        • Étape 3
        • Étape 4
        • Problèmes communs
      • Configuration
        • Admin Commande
        • server.cfg
        • es_extented
        • TxAdmin
  • GUIDES JOBS
    • ESX VigneronJob
      • Installation
        • Étape 1
        • Étape 2
        • Étape 3
        • Étape 4
        • Étape 5
        • Étape 6
      • Problèmes communs
    • ESX TabacJob
      • Installation
        • Étape 1
        • Étape 2
        • Étape 3
        • Étape 4
        • Étape 5
        • Étape 6
      • Problèmes communs
    • ESX PizzaJob
      • Installation
        • Étape 1
        • Étape 2
        • Étape 3
        • Étape 4
        • Étape 5
        • Étape 6
        • Étape 7
      • Problèmes communs
    • ESX Kebab Job
      • Installation
        • Étape 1
        • Étape 2
        • Étape 3
        • Étape 4
        • Étape 5
        • Étape 6
      • Problèmes communs
    • ESX DriftJob
      • Problèmes communs
    • ESX BahamasJob
      • Problèmes communs
    • ESX UnicornJob
      • Problèmes communs
  • GUIDES SCIPTS
    • ESX NotifDiscord
      • Installation
      • Exports
      • Problèmes communs
    • ESX AlerteAccueil
      • Installation
      • Configuration
      • Problèmes communs
    • ESX Smoke
      • Installation
      • Configuration
      • Problèmes communs
    • ESX Acheteur
    • ESX VehiculeSpawn
Powered by GitBook
On this page
  1. GUIDES JOBS
  2. ESX TabacJob
  3. Installation

Étape 5

Items inventaire

Ajouts Items Inventaire

Pour que le scripts fonctionne correctement vous devez ajouter les items dans le fichier de configuration de votre inventaire.

ox_inventory

Copier et coller les items ce-dessous dans votre fichier de configuration qui se trouve dans : ox_inventory/data/items.lua . Coller les items tout en bas de votre fichier item.lua et au dessus de } déjà présent.

         ['gtabac'] = {
		label = 'Graine de tabac',
		weight = 1,
		stack = true,
		client = {
		   event = 'esx_TabacFarm:grainetabac'
		}
        },
  
         ["tabacbroyer"] = {
		label = "Tabac Broyer",
		weight = 3,
		stack = true,
		close = true,
	},

         ["ftabac"] = {
		label = "Feuille de tabac",
		weight = 3,
		stack = true,
		close = true,
	},

         ["tabacsec"] = {
		label = "Tabac sec",
		weight = 3,
		stack = true,
		close = true,
	},

         ["dg_camel"] = {
		label = "Camel",
		weight = 3,
		stack = true,
		close = true,
	},

         ["dg_marlboro"] = {
		label = "Marlboro",
		weight = 3,
		stack = true,
		close = true,
	},

         ["dg_redwood"] = {
		label = "Redwood",
		weight = 3,
		stack = true,
		close = true,
	},

qs_inventory

Copier et coller les items ce-dessous dans votre fichier de configuration qui se trouve dans : qs-inventory/shared/items.lua

       ['gtabac']                    = {
        ['name'] = 'gtabac',
        ['label'] = 'Graine de tabac',
        ['weight'] = 2,
        ['type'] = 'item',
        ['image'] = 'gtabac.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Graine de tabac',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
        ['client'] = {
            disable = {
                disableMovement = true,
                disableCarMovement = true,
                disableMouse = false,
                disableCombat = true,
            },
            removeAfterUse = true
        }
       },

       ['tabacbroyer']                       = {
        ['name'] = 'tabacbroyer',
        ['label'] = 'Tabac Broyer',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'tabacbroyer.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tabac Broyer'
       },

       ['ftabac']                       = {
        ['name'] = 'ftabac',
        ['label'] = 'Feuille de tabac',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'ftabac.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Feuille de tabac'
       },


       ['tabacsec']                       = {
        ['name'] = 'tabacsec',
        ['label'] = 'Tabac sec',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'tabacsec.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tabac sec'
       },

       ['dg_camel']                       = {
        ['name'] = 'dg_camel',
        ['label'] = 'Camel',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'dg_camel.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Camel'
       },


       ['dg_marlboro']                       = {
        ['name'] = 'dg_marlboro',
        ['label'] = 'Marlboro',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'dg_marlboro.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Marlboro'
       },


       ['dg_redwood']                       = {
        ['name'] = 'dg_redwood',
        ['label'] = 'Redwood',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'dg_redwood.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Redwood'
       },
PreviousÉtape 4NextÉtape 6

Last updated 1 year ago