A Qbox resource that enables the functionality of diving and air tank items.
Works with qbx_diving, a coral diving and collection resource, also developed by the Qbox community!
- Able to set the length of time an air tank will refill your tank
- Limitations for refilling underwater (to limit endless use of air tanks)
- animations and timers during refill
- Text that displays current air time at the bottom of the player's screen when underwater and wearing gear
Place these items in ox_inventory's item.lua if you don't have them already:
['diving_fill'] = {
label = 'Diving Tube',
weight = 3000,
stack = false,
close = true,
description = "used to refill your diving gear's oxygen supply."
},
['diving_gear'] = {
label = 'Diving Gear',
weight = 30000,
stack = false,
close = true,
description = "A diving set that let's swim underwater. Blub blub!"
},
Missing images for your items? Here are some free-to-use images!