ox_inventory

Open up ox_inventory/modules/utils/client.lua , find and replace the Utils.CreateBlip function with this code:

function Utils.CreateBlip(settings, coords)
	local blip = exports['elysium_blips']:createBlip({
		group = "Shops",
		coords = vector3(coords.x, coords.y, coords.z),
		sprite = settings.id,
		scale = settings.scale,
		color = settings.colour,
		shortrange = true,
		text = settings.name,
		disableText = true
	})
	return blip
end

You can replace groups = "Shops", with whatever group name you prefer.


Open up ox_inventory/modules/shops/client.lua , find and replace the AddTextEntry with the following code:

if blip then
	blip.name = ('ox_shop_%s'):format(shopType)
	exports['elysium_blips']:addTextEntry(blip.name, shop.name or shopType)
end

Open up ox_inventory/modules/crafting/client.lua, find and replace the AddTextEntry with the following code:

if blip then
	blip.name = blip.name or ('ox_crafting_%s'):format(data.label and id or 0)
	exports['elysium_blips']:addTextEntry(blip.name, data.label or locale('crafting_bench'))
end

Last updated