KuzQuality - FiveM Documentation
Webstore
  • KuzQuality - FiveM Scripts
  • Useful links
    • KuzQuality.com | Shop now
    • Our Discord
  • General
    • Common issues
    • Frequently asked questions
    • Updating server artifacts
    • Installation basics
  • RESOURCES
    • Premium Resources
      • Shell Creator
        • Config
        • Installation Guide
        • Video guide
        • API
          • Server
          • Client
      • Cocaine Production
        • Config
        • Installation Guide
      • Roof boxes & bike racks
        • Config
        • Installation Guide
        • API
      • Meth Cooking
        • Config
        • Installation Guide
      • Private islands
        • Config
        • Installation Guide
      • Real offroad physics
        • Config
        • Installation Guide
        • API
      • Placeable items
        • Config
        • Inventory integrations
        • Installation Guide
      • Car Dyno
        • Config
        • Installation Guide
      • Outfit Bag 2.0
        • Config
        • Installation Guide
      • Realistic wheel damage
        • Config
      • Smash 'n Grab 2.0
        • Config
        • Installation Guide
      • Animation Suggestions
        • Config
        • Installation Guide
      • Smugglers Heist
        • Config
        • Installation Guide
      • Car Heist
        • Config
      • Towing & Winching
        • Config
        • Installation Guide
      • Security Systems
        • Config
        • Developer Docs
      • Drift Tires
        • Config
        • Installation Guide
      • Engine Swaps [ESX]
        • Config
      • Engine Swaps [QBCore]
        • Config
      • Islands Generator
        • Config
        • Installation Guide
      • Brake Overheating
        • Config
        • Installation Guide
      • Drift Smoke
        • Config
      • Advanced Ped Looting
        • Config
        • Installation Guide
      • Bike Jump Ability
        • Config
        • Installation Guide
      • Hideouts 2.0
        • Config
      • Detective Tools
        • Config
      • Classic Outfit Bag
        • Config
      • Traction Control Toggle
        • Config
      • Car Lift
        • Config
      • Vehicle Towing
        • Config
      • RGB Controller (Full)
        • Config
      • Diving [ESX]
        • Config
      • Diving [QBCore]
        • Config
    • Free Resources
      • Prop Placer
        • Config
      • Nightclub Heist
        • Config
      • Basic Security Lasers
        • Config
        • Developer Docs
      • Advanced Airdrop
        • Config
      • Smooth Throttle Control
        • Config
      • Better rollbacks & handbrake turns
        • Config
      • Wild Cannabis (Loot Areas Example)
        • Config
      • RGB Controller (Basic)
        • Config
      • Dragy
        • Config
      • Easter Egg Hunt
        • Config
      • Loot Areas
        • Config
        • Developer docs
  • KQ Link
    • KQ Link | Installation guide
    • Using Git
    • Developer reference
      • Exports
        • Server
        • Client
Powered by GitBook
On this page
  1. RESOURCES
  2. Free Resources
  3. Easter Egg Hunt

Config

Config = {}

--- READ <!>
--- To safely restart the script, use the command `kq_egghunt_restart`.
--- Do not simply `restart kq_egghunt` or `ensure kq_egghunt` to restart it. This will cause the game to crash due to the custom models being unloaded

Config.debug = false

-------------------------------------------------
--- FRAMEWORK SETTINGS
-------------------------------------------------
Config.esxSettings = {
    enabled = true,
    -- Whether or not to use the new ESX export method
    useNewESXExport = true,

    -- Money account used when picking up cash or selling off items
    moneyAccount = 'money',
}

Config.qbSettings = {
    enabled = false,
    -- Whether or not to use the new QBCore export method
    useNewQBExport = true,

    -- Money account used when picking up cash or selling off items
    moneyAccount = 'cash',
}


Config.target = {
    enabled = false,
    system = 'ox_target' -- 'qtarget' or 'qb-target' or 'ox_target'  (Other systems might work as well)
}


--- Egg hunt areas
--- coords = vector3 / coordinates of the center of the zone
--- radius = float / radius of the egg hunt zone
--- amount = int / amount of eggs that should spawn in the zone
--- respawnTime / int / time in seconds, delay for the eggs to respawn after being picked up (in a new random position within the zone)
Config.areas = {
    { -- Up north
        coords = vector3(165.18, 6881.2, 40.0),
        radius = 150.0,
        amount = 30,
        respawnTime = 30,
    },
    { -- Legion square
        coords = vector3(199.59, -932.9, 40.0),
        radius = 90.0,
        amount = 40,
        respawnTime = 30,
    },
    { -- LS Skate park
        coords = vector3(-920.26, -764.9, 30.0),
        radius = 80.0,
        amount = 10,
        respawnTime = 30,
    },
    { -- Park up north
        coords = vector3(776.9, -277.10, 66.35),
        radius = 80.0,
        amount = 8,
        respawnTime = 30,
    },
    { -- Golf course
        coords = vector3(-1177.15, 57.0, 54.4),
        radius = 150.0,
        amount = 40,
        respawnTime = 30,
    }
}

Config.selling = {
    {
        location = vector3(2518.75, 4404.71, 37.37),
        heading = 250.0,

        duration = 2000, -- selling duration in ms
        
        item = 'kq_easteregg',

        price = 150,

        showBlip = true, -- whether or not to show the easter egg selling location blip on the map
    },
}

----------------------------------------------------------------------------------------------
--- KEYBINDS
----------------------------------------------------------------------------------------------
-- https://docs.fivem.net/docs/game-references/controls/
-- Use the input index for the "input" value
Config.keybinds = {
    interact = {
        label = 'E',
        input = 38,
    },
}
PreviousEaster Egg HuntNextLoot Areas

Last updated 8 months ago