Price
UnknownA script by SimplyATaco
Price
UnknownDive into adventure with B&T Diving, the ultimate diving script for FiveM that brings the thrill of underwater salvage operations to your server. B&T Diving allows players to explore designated salvage areas in the deep blue, where they can dive to discover capsules filled with various items, adding an exciting dimension to their gameplay.
Features:
Config:
Config = {}
Config.Framework = "ESX" -- "ESX" for ESX | "QB" for QB Core
Config.Notify = "OX" -- "ESX" for ESX | "QB" for QB Core | "OX" for OX_Lib Notify
Config.ProgressBar = "OX" -- "ESX" for ESX | "QB" for QB Core | "OX" for OX_Lib Progress Bar
Config.Items = { -- Probablity Must Add Up to 100
{name="cloth", probability = 0.25, min = 2, max = 3},
{name="glass", probability = 0.25, min = 3, max = 5},
{name="plastic", probability = 0.20, min = 2, max = 4},
{name="rubber", probability = 0.15, min = 2, max = 3},
{name="steel", probability = 0.10, min = 2, max = 3},
{name="iron", probability = 0.5, min = 1, max = 2},
}
Config.ScubaGearItem = "oxygentank" -- Name of Scuba Gear Item
Config.RemoveTankOnUse = true -- Should the tank be removed on use
Config.MaximumCapsules = 8 -- Maximum Amount of Capsules Concurrently
Config.OxygenTankDuration = 10 -- Amount of time 1 Oxygen Tank Lasts (In Minutes)
Config.EquipTime = 7.5 -- Amount of time it takes to equip Oxygen Tank (In Seconds)
Config.PlaySound = true -- Should a sound be played when a capsule is collected
Config.ItemFoundNotify = true -- Should a player be notified about an item foun
Config.DivingZones = {
[1] = {
label = "Salvage Area", -- Label of Blip on the Map
coords = vector3(-45.2544, -3411.4446, 0.0), -- Coordinates of Salvage Area
zoneRadius = 150.0, -- Radius of the Salvage Area
sprite = 404, -- Sprite for the Blip of the Salvage Area
color = 1, -- Color of the Salvage Area Blip
radiusColor = 1, -- Color of the Salvage Area Radius
scale = 0.8 -- Scale of the Salvage Area Blip
},
[2] = {
label = "Salvage Area",
coords = vector3( 3387.1287, 2030.8477, 1.1771),
zoneRadius = 150.0,
sprite = 404,
color = 1,
radiusColor = 1,
scale = 0.8
}
}
-- Strings --
Config.Strings = {
apply_oxygentank = 'Putting on Scuba Gear',
cancel_oxygentank = 'Putting on Scuba Gear Cancelled',
applied_scubagear = 'You put on the diving mask & secure the oxygen tank.',
already_applied = 'You are already wearing scuba gear!',
item_found = 'You have found ',
noti_title1 = 'Oxygen Tank',
noti_title2 = 'Diving'
}
Links:
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | Number of lines ~400 |
| Requirements | Requirements Server Build 2699 |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.