Shop

Using ox_inventory

Go to your ox_inventory/data/shops.lua and add this:

	Farmer = {
		name = 'Farmer',
		inventory = {
			{ name = 'alface_seed', price = 20 },
			{ name = 'batata_seed', price = 20 },
			{ name = 'cebola_seed', price = 20 },
			{ name = 'tomate_seed', price = 20 },
			{ name = 'fertilizante', price = 50 },
			{ name = 'regador', price = 250 },
			{ name = 'balde', price = 50 },
			{ name = 'water', price = 8 },

		}, locations = {
			vec3( 2501.045, 4801.282, 34.739),
		}, targets = {
			{ loc = vec3( 2501.045, 4801.282, 34.239), length = 0.6, width = 3.0, heading = 65.0, minZ = 55.0, maxZ = 56.8, distance = 3.0 }
		}
	},

Other:

Go to your shops files and add a new shop.

Last updated