refactor: split config
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
exports.qbx_core:CreateUseableItem("diving_gear", function(source)
|
||||
exports.qbx_core:CreateUseableItem('diving_gear', function(source)
|
||||
TriggerClientEvent('qbx_divegear:client:useGear', source)
|
||||
end)
|
||||
|
||||
exports.qbx_core:CreateUseableItem("diving_fill", function(source)
|
||||
exports.qbx_core:CreateUseableItem('diving_fill', function(source)
|
||||
local success = lib.callback.await('qbx_divegear:client:fillTank', source)
|
||||
if success then
|
||||
exports.ox_inventory:RemoveItem(source, 'diving_fill', 1)
|
||||
|
||||
Reference in New Issue
Block a user