-- Export pentru ox_inventory - se apeleaza cand jucatorul foloseste itemul 'bomb' exports('bomb', function(event, item, inventory, slot, data) -- Jucatorul incearca sa foloseasca itemul if event == 'usingItem' then return -- permite utilizarea end -- Jucatorul a terminat de folosit itemul (itemul a fost consumat) if event == 'usedItem' then TriggerClientEvent('kaboom:startDetonation', inventory.id) return end end)