To get started we just need to add a few items to our DB or if using Ox_Inventory put them in your items.lua! Below are the needed items for this to work:
Copy INSERT INTO `items` ( `name` , `label` , `weight` , `rare` , `can_remove` ) VALUES
( 'ied_timer' , 'Timer Explosive Device' , 1 , 0 , 1 ),
( 'ied_speed' , 'Speed Explosive Device' , 1 , 0 , 1 ),
( 'ied_remote' , 'Remote Explosive Device' , 1 , 0 , 1 ),
( 'ied_delayed' , 'Delayed Explosive Device' , 1 , 0 , 1 ),
( 'ied_instant' , 'Instant Explosive Device' , 1 , 0 , 1 ),
;
ox_inventory/data/items.lua
Copy [ 'ied_timer' ] = {
label = 'Timer IED' ,
weight = 1 ,
stack = true ,
close = true ,
},
[ 'ied_speed' ] = {
label = 'Speed IED' ,
weight = 1 ,
stack = true ,
close = true ,
},
[ 'ied_remote' ] = {
label = 'Remote IED' ,
weight = 1 ,
stack = true ,
close = true ,
},
[ 'ied_delayed' ] = {
label = 'Delayed IED' ,
weight = 1 ,
stack = true ,
close = true ,
},
[ 'ied_instant' ] = {
label = 'Instant IED' ,
weight = 1 ,
stack = true ,
close = true ,
},