๐Ÿ‘œAdd Item

Add this item to your inventory Script

QB Based Inventory

If you are using qb based inventory then Navigate to qb-core/shared/items.lua and add this:

["radio"] = {
        ["name"] = "radio",
        ["label"] = "Radio",
        ["weight"] = 100,
        ["type"] = "item",
        ["image"] = "radio.png",
        ["unique"] = true,
        ["useable"] = true,
        ["shouldClose"] = true,
        ["description"] = "A communication system for person"
},
["jammer"] = {
        ["name"] = "jammer",
        ["label"] = "Radio Jammer",
        ["weight"] = 10000,
        ["type"] = "item",
        ["image"] = "jammer.png",
        ["unique"] = true,
        ["useable"] = true,
        ["shouldClose"] = true,
        ["description"] = "A device to block radio signals around"
},
["radiocell"] = {
        ["name"] = "radiocell",
        ["label"] = "AAA Cells",
        ["weight"] = 500,
        ["type"] = "item",
        ["image"] = "radiocell.png",
        ["useable"] = true,
        ["shouldClose"] = true,
        ["description"] = "Batteries to powerup radio device"
}

OX Inventory

If you are using ox inventory then Navigate to ox_inventory/data/items.lua and add this:

['radio'] = {
	label = 'Radio',
	weight = 1000,
	allowArmed = true,
	consume = 0,
	client = {
		event = 'mm_radio:client:use'
	}
},

['jammer'] = {
	label = 'Radio Jammer',
	weight = 10000,
	allowArmed = true,
	client = {
		event = 'mm_radio:client:usejammer'
	}
},

['radiocell'] = {
	label = 'AAA Cells',
	weight = 1000,
	stack = true,
	allowArmed = true,
	client = {
		event = 'mm_radio:client:recharge'
	}
}

Images

Last updated