🗑️Sanitation

--server.cfg start order
ensure kevin-sanitation

Ox Inventory

Add the following in ox_inventory > data > items.lua

["garbage_bag"] = {
	label = "Garbage Bag",
	weight = 400,
	stack = false,
	close = true,
},

Item Images

  • Copy the image/s within kevin-sanitation > images

  • Paste the image/s in ox_inventory > web > images

QB Inventory

Add the following to qb-core > shared > items.lua

garbage_bag                     = { name = 'garbage_bag', label = 'Garbage Bag', weight = 400, type = 'item', image = 'garbage_bag.png', unique = true, useable = true, shouldClose = true, description = '' },

Item Images

  • Copy the image/s within kevin-sanitation > images

  • Paste the images in qb inventory > html > images

Reputation Metadata

Qbox

Add the following to qbx_core > server > player.lua (anywhere below line 451 which should be a line -- Metadata)

playerData.metadata.sanitation = playerData.metadata.sanitation or 0

Qbcore

Add the following to qb-core > config.lua (within the metadata code block on line 62)

sanitation = 0,

Last updated