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 VigneronJob
  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

	['dg_champagne'] = {
		label = 'champagne',
		weight = 3,
		stack = true,
		close = true,
		description = nil,
                client = {
		status = { thirst = 200000, drunk = 200000 },
		anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
		prop = { model = `prop_champ_01a`, pos = vec3(0.01, 0.01, -0.09), rot = vec3(5.0, 5.0, -180.5) },
		usetime = 2500,
		notification = 'Tu as étanché ta soif avec du champagne.'
		}
	},

	['dg_grand_cru'] = {
		label = 'grand cru',
		weight = 3,
		stack = true,
		close = true,
		description = nil,
                client = {
		status = { thirst = 200000, drunk = 200000 },
		anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
		prop = { model = `prop_cava`, pos = vec3(0.01, 0.01, -0.09), rot = vec3(5.0, 5.0, -180.5) },
		usetime = 2500,
		notification = 'Tu as étanché ta soif avec un grand cru.'
		}
	},

	['dg_vin_blanc'] = {
		label = 'vin blanc',
		weight = 3,
		stack = true,
		close = true,
		description = nil,
                client = {
			status = { thirst = 200000, drunk = 200000 },
			anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
			prop = { model = `prop_plonk_white`, pos = vec3(0.01, 0.01, -0.09), rot = vec3(5.0, 5.0, -180.5) },
			usetime = 2500,
			notification = 'Tu as étanché ta soif avec du vin blanc.'
		}
	},

	['dg_vin_rouge'] = {
		label = 'vin rouge',
		weight = 3,
		stack = true,
		close = true,
		description = nil,
                client = {
		status = { thirst = 200000, drunk = 200000 },
		anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
		prop = { model = `prop_plonk_red`, pos = vec3(0.01, 0.01, -0.09), rot = vec3(5.0, 5.0, -180.5) },
		usetime = 2500,
		notification = 'Tu as étanché ta soif avec du vin rouge.'
		}
	},

	["raisin"] = {
		label = "Grappe de raisin",
		weight = 5,
		stack = true,
		close = true,
	},

	['dg_jus_raisin'] = {
		label = 'Jus de raisin',
		weight = 3,
		stack = true,
		close = true,
		description = nil,
                client = {
			status = { thirst = 200000, drunk = 200000 },
			anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
			prop = { model = `prop_plonk_red`, pos = vec3(0.01, 0.01, -0.09), rot = vec3(5.0, 5.0, -180.5) },
			usetime = 2500,
			notification = 'Tu as étanché ta soif avec du jus de raisin.'
		}
	},

qs_inventory

    ['dg_champagne']                    = {
        ['name'] = 'dg_champagne',
        ['label'] = 'Champagne',
        ['weight'] = 2,
        ['type'] = 'item',
        ['image'] = 'dg_champagne.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tu as étanché ta soif avec du champagne.',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
        ['client'] = {
            status = {
                thirst = 200000,
                drunk = 200000,
            },
            usetime = 2500,
            anim = {
                animDict = 'mp_player_intdrink',
                anim = 'loop_bottle'
            },
            prop = {
                model = 'prop_champ_01a',
                coords = vec3(0.01, 0.01, -0.09),
                rotation = vec3(5.0, 5.0, -180.5)
            },
            disable = {
                disableMovement = true,
                disableCarMovement = true,
                disableMouse = false,
                disableCombat = true,
            },
            removeAfterUse = true
        }
    },

    ['dg_grand_cru']                    = {
        ['name'] = 'dg_grand_cru',
        ['label'] = 'Grand Cru',
        ['weight'] = 2,
        ['type'] = 'item',
        ['image'] = 'dg_grand_cru.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tu as étanché ta soif avec un grand cru.',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
        ['client'] = {
            status = {
                thirst = 200000,
                drunk = 200000,
            },
            usetime = 2500,
            anim = {
                animDict = 'mp_player_intdrink',
                anim = 'loop_bottle'
            },
            prop = {
                model = 'prop_cava',
                coords = vec3(0.01, 0.01, -0.09),
                rotation = vec3(5.0, 5.0, -180.5)
            },
            disable = {
                disableMovement = true,
                disableCarMovement = true,
                disableMouse = false,
                disableCombat = true,
            },
            removeAfterUse = true
        }
    },


    ['dg_vin_blanc']                    = {
        ['name'] = 'dg_vin_blanc',
        ['label'] = 'Vin blanc',
        ['weight'] = 2,
        ['type'] = 'item',
        ['image'] = 'dg_vin_blanc.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tu as étanché ta soif avec du vin blanc.',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
        ['client'] = {
            status = {
                thirst = 200000,
                drunk = 200000,
            },
            usetime = 2500,
            anim = {
                animDict = 'mp_player_intdrink',
                anim = 'loop_bottle'
            },
            prop = {
                model = 'prop_plonk_white',
                coords = vec3(0.01, 0.01, -0.09),
                rotation = vec3(5.0, 5.0, -180.5)
            },
            disable = {
                disableMovement = true,
                disableCarMovement = true,
                disableMouse = false,
                disableCombat = true,
            },
            removeAfterUse = true
        }
    },


    ['dg_vin_rouge']                    = {
        ['name'] = 'dg_vin_rouge',
        ['label'] = 'Vin rouge',
        ['weight'] = 2,
        ['type'] = 'item',
        ['image'] = 'dg_vin_rouge.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tu as étanché ta soif avec du vin rouge.',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
        ['client'] = {
            status = {
                thirst = 200000,
                drunk = 200000,
            },
            usetime = 2500,
            anim = {
                animDict = 'mp_player_intdrink',
                anim = 'loop_bottle'
            },
            prop = {
                model = 'prop_plonk_red',
                coords = vec3(0.01, 0.01, -0.09),
                rotation = vec3(5.0, 5.0, -180.5)
            },
            disable = {
                disableMovement = true,
                disableCarMovement = true,
                disableMouse = false,
                disableCombat = true,
            },
            removeAfterUse = true
        }
    },


    ['dg_jus_raisin']                    = {
        ['name'] = 'dg_jus_raisin',
        ['label'] = 'Jus de raisin',
        ['weight'] = 2,
        ['type'] = 'item',
        ['image'] = 'dg_jus_raisin.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Tu as étanché ta soif avec du jus de raisin.',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
        ['client'] = {
            status = {
                thirst = 200000,
            },
            usetime = 2500,
            anim = {
                animDict = 'mp_player_intdrink',
                anim = 'loop_bottle'
            },
            prop = {
                model = 'prop_plonk_red',
                coords = vec3(0.01, 0.01, -0.09),
                rotation = vec3(5.0, 5.0, -180.5)
            },
            disable = {
                disableMovement = true,
                disableCarMovement = true,
                disableMouse = false,
                disableCombat = true,
            },
            removeAfterUse = true
        }
    },


    ['raisin']                    = {
        ['name'] = 'raisin',
        ['label'] = 'Grappe de raisin',
        ['weight'] = 1,
        ['type'] = 'item',
        ['image'] = 'raisin.png',
        ['unique'] = false,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Grappe de raisin',
        ['created'] = nil,
        ['decay'] = 0.03,
        ['delete'] = false,
      },
PreviousÉtape 4NextÉtape 6

Last updated 1 year ago