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 PizzaJob
  3. Installation

Étape 7

Ajouts crafting Inventaire

Ajouts Shops Inventaire

Pour que le scripts fonctionne correctement vous devez ajouter les shops 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/shops.lua

	MarketIngredientPizza = {
		name = 'Magasin Métro',
		-- blip = {	id = 110, colour = 1, scale = 0.8},
		inventory = {
			{ name = 'boite_pizza', price = 1  },
			--{ name = 'pate_pizza', price = 1  },
			{ name = 'farine', price = 1  },
			{ name = 'levure_boulanger', price = 1  },
			{ name = 'huile_olive', price = 1  },
			{ name = 'tomate', price = 1  },
			{ name = 'gruyere', price = 1  },
			{ name = 'mozzarella', price = 1  },
			{ name = 'parmesan', price = 1  },
			{ name = 'gorgonzola', price = 1  },
			{ name = 'oeuf', price = 1  },
			{ name = 'oignon', price = 1  },
			{ name = 'merguez', price = 1  },
			{ name = 'poivrons', price = 1  },
			{ name = 'viande_hachee', price = 1  },
			{ name = 'jambon', price = 1  },
			{ name = 'champignons', price = 1  },
			{ name = 'olives', price = 1  },
			{ name = 'creme', price = 1  },
			{ name = 'ananas', price = 1  },
			{ name = 'anchois', price = 1  },
			{ name = 'chevre', price = 1  },
			{ name = 'thon', price = 1  },
			{ name = 'crevettes', price = 1  },
			{ name = 'calamars', price = 1  },
			{ name = 'saucisses', price = 1  },
			{ name = 'bacon', price = 1  },
			{ name = 'escargots', price = 1  },
			{ name = 'pepperoni', price = 1  },
			{ name = 'poulet', price = 1  },
			{ name = 'roquette', price = 1  },
			{ name = 'capres', price = 1  },
			{ name = 'salami', price = 1  },
			{ name = 'truffes', price = 1  },
			{ name = 'miel', price = 1  },


		}, locations = {
			vec3(283.2301, -978.2105, 29.4335)
		}, targets = {
                            { loc = vec3(283.2301, -978.2105, 29.4335), length = 0.5, width = 3.0, heading = 270.0, minZ = 30.5, maxZ = 32.0, distance = 6
}

		}
	},

qs_inventory

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

Config.Products = {

   -- JOB PIZZA
     ['shop_jonpizza'] = {
	 
			{ name = 'boite_pizza', price = 1,   amount = 50  },
			--{ name = 'pate_pizza', price = 1,   amount = 50  },
			{ name = 'farine', price = 1 ,   amount = 50 },
			{ name = 'levure_boulanger', price = 1,   amount = 50  },
			{ name = 'huile_olive', price = 1 ,   amount = 50 },
			{ name = 'tomate', price = 1 ,   amount = 50 },
			{ name = 'gruyere', price = 1 ,   amount = 50 },
			{ name = 'mozzarella', price = 1,   amount = 50  },
			{ name = 'parmesan', price = 1 ,   amount = 50 },
			{ name = 'gorgonzola', price = 1 ,   amount = 50 },
			{ name = 'oeuf', price = 1  ,   amount = 50},
			{ name = 'oignon', price = 1 ,   amount = 50 },
			{ name = 'merguez', price = 1 ,   amount = 50 },
			{ name = 'poivrons', price = 1,   amount = 50  },
			{ name = 'viande_hachee', price = 1 ,   amount = 50 },
			{ name = 'jambon', price = 1 ,   amount = 50 },
			{ name = 'champignons', price = 1 ,   amount = 50 },
			{ name = 'olives', price = 1 ,   amount = 50 },
			{ name = 'creme', price = 1 ,   amount = 50 },
			{ name = 'ananas', price = 1 ,   amount = 50 },
			{ name = 'anchois', price = 1 ,   amount = 50 },
			{ name = 'chevre', price = 1 ,   amount = 50 },
			{ name = 'thon', price = 1 ,   amount = 50 },
			{ name = 'crevettes', price = 1 ,   amount = 50 },
			{ name = 'calamars', price = 1 ,   amount = 50 },
			{ name = 'saucisses', price = 1 ,   amount = 50 },
			{ name = 'bacon', price = 1  },
			{ name = 'escargots', price = 1 ,   amount = 50 },
			{ name = 'pepperoni', price = 1,   amount = 50  },
			{ name = 'poulet', price = 1  },
			{ name = 'roquette', price = 1 ,   amount = 50 },
			{ name = 'capres', price = 1 ,   amount = 50 },
			{ name = 'salami', price = 1 ,   amount = 50 },
			{ name = 'truffes', price = 1 ,   amount = 50 },
			{ name = 'miel', price = 1 ,   amount = 50 },

		
    },
}

Config.Locations = {

    ['shopjobpizza'] = {
        ['label'] = 'Boutique',
        ['coords'] = vector4(283.2301, -978.2105, 29.4335, 198.4666), 
        ['ped'] = 'mp_m_waremech_01',
        ['scenario'] = 'WORLD_HUMAN_CLIPBOARD',
        ['radius'] = 1.5,
        ['targetIcon'] = 'fas fa-shopping-basket',
        ['targetLabel'] = 'Boutique',
        ['products'] = Config.Products['shop_jonpizza'],
        ['showblip'] = false,
        ['blipsprite'] = 52,
        ['blipscale'] = 0.6,
        ['blipcolor'] = 0,
        ['delivery'] = vector4(283.2301, -978.2105, 29.4335, 198.4666),
        ['useStock'] = true,
        ['account'] = 'money', -- Set your account here
        ['distance'] = 5.0,
        --['requiredJob'] = { 'mechanic' },
        -- ['requiredGrade'] = 3,
        -- ['requiredGang'] = { 'mechanic', 'police' },
    },

}
PreviousÉtape 6NextProblèmes communs

Last updated 3 months ago