Item

ox_inventory

Add this to ox_inventory/data/items.lua:

['radio'] = {
		label = 'Radio',
		weight = 160,
		stack = true,
		close = true,
		description = '',
		client = {
			export = 'frkn-radio.useRadio'
		}
	},

qb-core

Add this to qb-core/shared/items.lua:

radio = {
    name = 'radio',
    label = 'Radio',
    weight = 2000,
    type = 'item',
    image = 'radio.png',
    unique = true,
    useable = true,
    shouldClose = true,
    description = 'You can communicate with this through a signal',
},

Last updated