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. ESX
  2. Jobs
  3. [ESX] Fishing

Config

Config = {}

Config.Display = "target" -- "target" or "showHelpText"
Config.Inventory = "ox" -- "ox" or "qs" ( open code on s.utils.lua )
Config.Notify = "ox" -- "okok" or "ox" ( open code on config_functions.lua )
Config.EmoteMenu = "rp" -- "rp" or "dp" ( open code on config_functions.lua )
Config.VehicleKeys = "none" -- "none" or "qs" or "renewed" ( open code on config_functions.lua )
Config.Dispatch = 'ps-dispatch' -- "ps-dispatch" or "cd_dispatch" or "qs-dispatch"
Config.InventoryLink = "ox_inventory/web/images/"
Config.Minigame = false -- Enable minigame?
Config.MinigameType = "ps-ui" -- "ps-ui" or "bl_ui" or "ox_lib" ( open code on config_functions.lua )
Config.Fuel = "LegacyFuel" -- "LegacyFuel" or "okokFuel" or "ox_fuel" or "ti_fuel" or "qs-fuel" ( open code on config_functions.lua )
Config.Debug = true -- If true, some prints happen on console

Config.License = {
    enable = true, -- If true, the script check if player have license to fishing
    cost = 1000, -- Cost of license
    type = "cash", -- "cash" or "bank"
}


Config.adminRanks = {
   'superadmin',
   'admin',
   'moderator',
}

-- Fishing Shop
Config.FishingShopBlip = { enable = true, sprite = 88, colour = 3, scale = 0.8, name = "Fishing Shop" }
Config.FishingShopPed = vector3(-1686.99, -1072.08, 13.15) -- Location of the ped fishing shop
Config.FishingShopPedHeading = 50.54 -- Heading of the ped
Config.FishingShopPedModel = "a_m_y_runner_01" -- Ped model https://docs.fivem.net/docs/game-references/ped-models/
Config.FishingShopItems = { -- Items people can buy on shop
    [1] = { name = "fishbait",      price = 5, amount = 10, info = {}, type = "item", slot = 1 },
	[2] = { name = "anchor",        price = 5, amount = 10, info = {}, type = "item", slot = 2 },
    [3] = { name = "bonfire",       price = 5, amount = 10, info = {}, type = "item", slot = 3 },
    [4] = { name = "fishingrod1",   price = 5, amount = 10, info = {}, type = "item", slot = 4 },
    [5] = { name = "fishnet1",      price = 5, amount = 10, info = {}, type = "item", slot = 5 },
    [6] = { name = "diving_gear",   price = 5, amount = 10, info = {}, type = "item", slot = 6 },
    [7] = { name = "diving_fill",   price = 5, amount = 10, info = {}, type = "item", slot = 7 },
}

-- Selling Legal Fishg
Config.FishingSellBlip = { enable = true, sprite = 108, colour = 3, scale = 0.8, name = "Sell Fish" }
Config.FishingSellPed = vector3(-1816.37, -1193.29, 14.3) -- Location of the ped fishing shop
Config.FishingSellPedHeading = 327.94 -- Heading of the ped
Config.FishingSellPedModel = "a_m_m_hillbilly_01" -- Ped model https://docs.fivem.net/docs/game-references/ped-models/
Config.FishingSellType = "cash" -- "cash" or "bank"
Config.SettingsSell = {
    [1] = { item = "catfish", priceMin = 2, priceMax = 4 },
    [2] = { item = "cod", priceMin = 2, priceMax = 4 },
    [3] = { item = "mackerel", priceMin = 2, priceMax = 4 },
    [4] = { item = "monkfish", priceMin = 2, priceMax = 4 },
    [5] = { item = "salmon", priceMin = 2, priceMax = 4 },
    [6] = { item = "sardine", priceMin = 2, priceMax = 4 },
    [7] = { item = "stingray", priceMin = 2, priceMax = 4 },
    [8] = { item = "tunafish", priceMin = 2, priceMax = 4 },
}

-- Rent a Boat
Config.RentBoatBlip = { enable = true, sprite = 404, colour = 3, scale = 0.8, name = "Rent a Boat" }
Config.RentBoatPed = vector3(-1815.52, -956.16, 1.45) -- Location of the ped fishing shop
Config.RentBoatPedHeading = 101.93 -- Heading of the ped
Config.RentBoatPedModel = "a_m_y_runner_01" -- Ped model https://docs.fivem.net/docs/game-references/ped-models/
Config.SpawnBoat = vector3(-1829.92, -958.59, -0.3) -- Locationto spawn the boat
Config.SpawnBoatHeading = 101.62 -- Heading of the boat
Config.Boats = {
    [1] = {boat = "dinghy", experience = 0 },
    [2] = {boat = "jetmax", experience = 50 },
    [3] = {boat = "toro", experience = 100 },
}

-- Experience system
Config.ExperienceSettings = {
    Legal_Fishing = {
        min = 1, -- min experience player earn when fishing 
        max = 2, -- max experience player earn when fishing 
    },
    Illegal_Fishing = {
        min = 2, -- min experience player earn when illegal fishing 
        max = 4, -- max experience player earn when illegal fishing 
    },
    Fishingnet = {
        min = 1, -- min experience player earn when use fishingnet
        max = 2, -- max experience player earn when use fishingnet
    },
}

-- Illegal bait settings
Config.IllegalBait = {
    needMinigame = true, -- cl_utils.lua
    needItem = true, -- Required item to make illegalbait?
    onlyIllegalZones = false, -- Player only can make illegalbait on illegalzones?
    itemNeeded = "knife", -- Item required
    timeProg = 5000, -- Time of progressbar when you use the item
    itemUsed = "tigershark", -- Item used to get illegalbait
    receiveAmount = { -- min & max amount of illegail bait people can get from one tigershark
        min = 1,
        max = 2,
    },
}

-- Cooking settings
Config.CookingProp = "prop_beach_fire" -- Prop will spawned with bonfire item
Config.AnimationCooking = {
    placing = {
        animDict = "anim@narcotics@trash",
        anim = "drop_front"
    },
    saving = {
        animDict = "weapons@first_person@aim_rng@generic@projectile@thermal_charge@",
        anim = "plant_floor",
    }
}

-- Cooking items
Config.CookingItems = {
    [1] = {
        name = "cookedcod", -- Item player will cooking
        receive = 1, -- Amount of item receiving
        itemsNeed = { -- List of items needed to craft
            [1] = {item = "cod", amount = 1 },
        }
    },
    [2] = {
        name = "cookedmackerel", -- Item player will cooking
        receive = 1, -- Amount of item receiving
        itemsNeed = { -- List of items needed to craft
            [1] = {item = "mackerel", amount = 1 },
        }
    },
}

-- Usable cooked items
Config.CookingUsable = {
    [1] = {
        item = "cookedcod", -- Item consumable
        effects = "health", -- "health" or "armour" or "both"
        values = {
            min = 10, -- Min value player will receive of effects when eating the cookedcod
            max = 20, -- Max value player will receive of effects when eating the cookedcod
        }
    },
    [2] = {
        item = "cookedmackerel", -- Item consumable
        effects = "health", -- "health" or "armour" or "both"
        values = {
            min = 10, -- Min value player will receive of effects when eating the cookedcod
            max = 20, -- Max value player will receive of effects when eating the cookedcod
        }
    }
}

-- Treasure Chest
Config.Treasure = {
    Rewards = {
        [1] = {item = "lockpick", chance = 20 },
        [2] = {item = "advancedlockpick", chance = 10 },
        [3] = {item = "phone", chance = 50 },
        [5] = {item = "fishingtin", chance = 60 },
        [6] = {item = "fishingboot", chance = 70 },
    }
}
PreviousInstallationNextFunctions

Last updated 1 year ago

đŸŽŖ
📄