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
      • ✈️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_fishingnet

-- Fishing Net Settings
Config.CheckCitizenID = true -- If true, only the person spawn the fishingnet can collect the same fishing net

Config.RemoveFishingnet = false -- If true, every time player uses, the script removes the fishingnet

Config.FishingnetBroke = true -- If true have a minimal chance of fishingnet broke

Config.BrokeChance = 20 -- 20% 0-100 to fishingnet broke

Config.FishingnetAnimation = { -- Settings of animation on progressbar collecting the fishingnet
    animDict = "mini@repair",
    anim = "fixing_a_player",
}

Config.PossibleFishs = { -- List of possible fish appear on fishingnet
    "a_c_fish",
    "a_c_stingray",
}

Config.FishingnetZones = {
    [1] = {
        coords = vector3(-1817.0, -951.94, 1.31),
        radius = 20,
        blip = { enable = true, sprite = 148, colour = 3, scale = 0.8, transparency = 75, name = "Fishingnet Zone" }
    },
    [2] = {
        coords = vector3(81.31, 682.62, 197.04),
        radius = 20,
        blip = { enable = true, sprite = 148, colour = 3, scale = 0.8, transparency = 75, name = "Fishingnet Zone" }
    },
}

-- Settings for fishingnet
Config.FishingnetSettings = {
    ["fishnet1"] = {
        timeProgressbar = 5000, -- Time of the progressbar when placing the fishingnet
        timeCollect = 5000, -- Time it takes before the player can collect the fish
        prop = "prop_m_fishing_net_01", -- Prop for the fishingnet
    },
    ["fishnet2"] = {
        timeProgressbar = 10000, -- Time of the progressbar when placing the fishingnet
        timeCollect = 30000, -- Time it takes before the player can collect the fish
        prop = "prop_m_fishing_net_02", -- Prop for the fishingnet
    },
    ["fishnet3"] = {
        timeProgressbar = 7500, -- Time of the progressbar when placing the fishingnet
        timeCollect = 30000, -- Time it takes before the player can collect the fish
        prop = "prop_m_fishing_net_03", -- Prop for the fishingnet
    },
    ["fishnet4"] = {
        timeProgressbar = 5500, -- Time of the progressbar when placing the fishingnet
        timeCollect = 30000, -- Time it takes before the player can collect the fish
        prop = "prop_m_fishing_net_04", -- Prop for the fishingnet
    },
    ["fishnet5"] = {
        timeProgressbar = 3500, -- Time of the progressbar when placing the fishingnet
        timeCollect = 30000, -- Time it takes before the player can collect the fish
        prop = "prop_m_fishing_net_05", -- Prop for the fishingnet
    },
}

-- Settings for fishingnet
Config.RewardsFishingnet = {
    ["fishnet1"] = {
        amount = math.random(1,2), -- Amount of random fish from the fishList
        amountList = 1, -- How many random items you can receive
        fishList = { -- List of possible fish can get with fishnet level 1
            [1] = {item = "catfish", chance = 40},
            [2] = {item = "mackerel", chance = 40},
            [3] = {item = "cod", chance = 40},
            [4] = {item = "seabass", chance = 40},
        }
    },
    ["fishnet2"] = {
        amount = math.random(2,3), -- Amount of random fish from the fishList
        amountList = 3, -- How many random items you can receive
        fishList = { -- List of possible fish can get with fishnet level 2
            [1] = {item = "catfish", chance = 50},
            [2] = {item = "mackerel", chance = 50},
            [3] = {item = "cod", chance = 50},
            [4] = {item = "seabass", chance = 50},
            [5] = {item = "sole", chance = 50},
            [6] = {item = "stingray", chance = 50},
            [7] = {item = "tigershark", chance = 10}, -- This item is the fish you can make illegalbait out of
        }
    },
    ["fishnet3"] = {
        amount = math.random(3,4), -- Amount of random fish from the fishList
        amountList = 4, -- How many random items you can receive
        fishList = { -- List of possible fish can get with fishnet level 3
            [1] = {item = "catfish", chance = 60},
            [2] = {item = "mackerel", chance = 60},
            [3] = {item = "cod", chance = 60},
            [4] = {item = "seabass", chance = 60},
            [5] = {item = "sole", chance = 60},
            [6] = {item = "stingray", chance = 60},
            [7] = {item = "salmon", chance = 60},
            [8] = {item = "tunafish", chance = 60},
            [9] = {item = "tigershark", chance = 10}, -- This item is the fish you can make illegalbait out of
        }
    },
    ["fishnet4"] = {
        amount = math.random(4,5), -- Amount of random fish from the fishList
        amountList = 5, -- How many random items you can receive
        fishList = { -- List of possible fish can get with fishnet level 4
            [1] = {item = "catfish", chance = 60},
            [2] = {item = "mackerel", chance = 60},
            [3] = {item = "cod", chance = 60},
            [4] = {item = "seabass", chance = 60},
            [5] = {item = "sole", chance = 60},
            [6] = {item = "stingray", chance = 60},
            [7] = {item = "salmon", chance = 60},
            [8] = {item = "tunafish", chance = 60},
            [9] = {item = "sardine", chance = 70},
            [10] = {item = "sardine", chance = 70},
            [11] = {item = "catfish", chance = 70},
            [12] = {item = "tigershark", chance = 10}, -- This item is the fish you can make illegalbait out of
        }
    },
    ["fishnet5"] = {
        amount = math.random(5,6), -- Amount of random fish from the fishList
        amountList = 6, -- How many random items you can receive
        fishList = { -- List of possible fish can get with fishnet level 5
            [1] = {item = "catfish", chance = 60},
            [2] = {item = "mackerel", chance = 60},
            [3] = {item = "cod", chance = 60},
            [4] = {item = "seabass", chance = 60},
            [5] = {item = "sole", chance = 60},
            [6] = {item = "stingray", chance = 60},
            [7] = {item = "salmon", chance = 60},
            [8] = {item = "tunafish", chance = 60},
            [9] = {item = "sardine", chance = 70},
            [10] = {item = "sardine", chance = 70},
            [11] = {item = "catfish", chance = 70},
            [12] = {item = "monkfish", chance = 70},
            [13] = {item = "tigershark", chance = 10}, -- This item is the fish you can make illegalbait out of
        }
    }
}
Previousconfig_divingNextconfig_fishingrod

Last updated 1 year ago

🐟
🗒️
📄