m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🍞[QB] BeanMachine
        • 🛠️Installation
        • 🗒️Config
      • 🍔[QB] Burgershot
        • 🛠️Installation
        • 🗒️Config
      • 🍈[QB] CoolBeans
        • 🛠️Installation
        • 🗒️Config
      • 🚚[QB] Deliveries
        • 🛠️Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • 🛠️Installation
        • 🗒️Config
      • 🐟[QB] Fishing
        • 🛠️Installation
        • 🗒️Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • 🛠️Installation
        • 🗒️Config
      • 🗝️[QB] GoldRush
        • 🛠️Installation
        • 🗒️Config
      • ⛰️[QB] Hunting
        • 🛠️Installation
        • 🗒️Config
      • 🪵[QB] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[QB] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🛢️[QB] Oil Factory
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • ☕[QB] Pond Coffee
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🚚[QB] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🥃[QB] Vanilla
        • 🛠️Installation
        • 🗒️Config
      • 🛻[QB] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • 🥃[QB] Bahamas
        • 🛠️Installation
        • 📄Config
      • 🔫[QB] Ammunation
        • 🛠️Installation
        • 📄Config
      • 🐟[QB] Pearls
        • 🛠️Installation
        • 📄Config
      • 🔓[QB] Impound
        • 🛠️Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • 🛠️Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • 🏕️[QB] Camping
        • 🛠️Installation
        • 🗒️Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • 🛠️Installation
        • 🗒️Config
      • 🎃[QB] Halloween
        • 🛠️Installation
        • 🗒️Config
      • 📔[QB] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 🗒️Config
        • 🔁Server-Exports
      • 🏘️[QB] Vespucci
        • 🛠️Installation
        • 🗒️Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • 🏖️[QB] Beach Activities
        • 🛠️Installation
        • 🗒️Config
      • 🚘[QB] Car Rental
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • ✈️[QB] Sky Racing
        • 🛠️Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • 🛠️Installation
        • 📄Config
      • 🪨[QB] Grinder
        • 🛠️Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
      • 🏠[QB] Motel
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • 🏚️[QB] Job Center
        • 📄Config
      • 🛠️[QB] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • 🔫[QB] Gangs
        • 🛠️Installation
        • 🗒️Config
      • 🔔[QB] Drug Selling
        • 🗒️Config
      • 🌱[QB] Drugs
        • 🛠️Installation
        • 🗒️Config
      • 🍯[QB] Craft Potion
        • 🛠️Installation
        • 🗒️Config
      • 🅱️[QB] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • 🗒️Config
      • 🏠[QB] House Robbery
        • 🛠️Installation
        • 🗒️Config
      • 💎[QB] Jewelry
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ®️[QB] Mini Robberys
        • 🛠️Installation
        • 🗒️Config
      • 💰[QB] MoneyWash
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🔫[QB] Rob NPC
        • 🛠️Installation
        • 🗒️Config
      • 🏃‍♂️[QB] Runs
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ⛽[QB] Steal Fuel
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🏬[QB] Store Robbery
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🪛[QB] Scrapyard
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 👾[QB] Territories
        • 🛠️Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • 🛠️Installation
          • ℹ️OX-Inventory
          • ℹ️QS-Inventory
        • 🗒️Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🪵[ESX] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • 🛻[ESX] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[ESX] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🎣[ESX] Fishing
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • 🛠️Installation
        • 🗒️Config
      • 📃[ESX] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • 🛠️Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
        • 🏠[ESX] Motel
          • 🛠️Installation
          • 📄Config
          • 🖥️Compatibilities
      • 🛠️[ESX] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • 🛠️Installation
        • 📄Configs
    • Illegal
      • 🔫[ESX] Gangs
        • 🛠️Installation
        • 📄Config
        • ❓Common Questions
      • 🅱️[ESX] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • 🛠️Installation
        • 🗒️Config
      • 🗺️City Guide
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • 🛠️Installation
      • 🔁Reputation
        • 📄Config
        • 🛠️Installation
        • ⁉️Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • 🛠️Installation
      • 🚗Garages
        • 🛠️Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
        • 🔁Compatibilities
      • ✈️Airplane Job
        • 🛠️Installation
        • 📃Configs
        • ℹ️Exports
      • 📋Scoreboard
        • 📃Config
      • 📦StorageUnits
        • 🛠️Installation
        • 📃Config
Powered by GitBook
On this page
  1. QBCore
  2. Jobs
  3. [QB] Fishing
  4. Config

config_diving

Config.maskModel = `p_d_scuba_mask_s` -- Mask model
Config.tankModel = `p_s_scuba_tank_s` -- Tank model
Config.OxygenMaxLevel = 200 -- Max capacity of the tank

-- Sell Corals
Config.SellCoralsBlip = { enable = true, sprite = 120, colour = 3, scale = 0.8, name = "Sell Corals" }
Config.SellCoralsPed = vector3(3311.14, 5176.33, 19.61) -- Location of the ped fishing shop
Config.SellCoralsPedHeading = 235.46 -- Heading of the ped
Config.SellCoralsPedModel = "a_m_y_runner_01" -- Ped model https://docs.fivem.net/docs/game-references/ped-models/
Config.SellCoralsType = "cash" -- "cash" or "bank"
Config.Cops = {
    enable = true, -- Enable call cops when you sell corals?
    jobs = { -- List of jobs to receive the dispatch
        "police",
        "lspd"
    }
}
Config.SellCoralsSetgins = {
    [1] = { item = "babyblue_coral", priceMin = 120, priceMax = 360 },
    [2] = { item = "blue_coral", priceMin = 120, priceMax = 360 },
    [3] = { item = "green_coral", priceMin = 120, priceMax = 360 },
    [4] = { item = "pink_coral", priceMin = 120, priceMax = 360 },
    [5] = { item = "red_coral", priceMin = 120, priceMax = 360 },
    [6] = { item = "yellow_coral", priceMin = 120, priceMax = 360 },
}

Config.DivingAnimation = {
    animDict = "weapons@first_person@aim_rng@generic@projectile@thermal_charge@",
    anim = "plant_floor",
}

Config.TreasureChest = {
    enable = true, -- Enable drop treasure chest when people are collecting coral?
    chance = 5, -- Chance to get the treasure chest [5%]
}

Config.DivingLocations = {
    --[[[1] = {
        coords = vector3(-1887.41, -1187.53, -21.05), -- Location where prop has gona be spawned
        prop = "prop_m_coral_01", -- Prop spawned
        searched = false, -- Don't touch
        rewardAmount = math.random(1,2), -- Amount of the item random from the list below
        reward = { -- List of possible drops on this location
            "red_coral"
        }
    },
    [2] = {
        coords = vector3(-1934.45, -1116.15, -34.22), -- Location where prop has gona be spawned
        prop = "prop_m_coral_02", -- Prop spawned
        searched = false, -- Don't touch
        rewardAmount = math.random(1,2), -- Amount of the item random from the list below
        reward = { -- List of possible drops on this location
            "red_coral"
        }
    },
    [3] = {
        coords = vector3(-1974.85, -1062.28, -26.55), -- Location where prop has gona be spawned
        prop = "prop_m_coral_03", -- Prop spawned
        searched = false, -- Don't touch
        rewardAmount = math.random(1,2), -- Amount of the item random from the list below
        reward = { -- List of possible drops on this location
            "red_coral"
        }
    },
    [4] = {
        coords = vector3(-2088.26, -1031.36, -44.12), -- Location where prop has gona be spawned
        prop = "prop_m_coral_04", -- Prop spawned
        searched = false, -- Don't touch
        rewardAmount = math.random(1,2), -- Amount of the item random from the list below
        reward = { -- List of possible drops on this location
            "red_coral"
        }
    },
    [5] = {
        coords = vector3(-2076.2, -884.86, -39.32), -- Location where prop has gona be spawned
        prop = "prop_m_coral_05", -- Prop spawned
        searched = false, -- Don't touch
        rewardAmount = math.random(1,2), -- Amount of the item random from the list below
        reward = { -- List of possible drops on this location
            "red_coral"
        }
    },
    [6] = {
        coords = vector3(-2205.43, -822.74, -35.62), -- Location where prop has gona be spawned
        prop = "prop_m_coral_06", -- Prop spawned
        searched = false, -- Don't touch
        rewardAmount = math.random(1,2), -- Amount of the item random from the list below
        reward = { -- List of possible drops on this location
            "red_coral"
        }
    },--]]
}
PreviousConfigNextconfig_fishingnet

Last updated 1 year ago

🐟
🗒️
📄