refactor: split config

This commit is contained in:
Matthew
2023-11-17 22:11:02 -08:00
committed by GitHub
parent d4c5857316
commit b50550abd5
4 changed files with 33 additions and 46 deletions
+2 -2
View File
@@ -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)