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
  • Information
  • Configuration of impound auctions
  • Demonstration Video
  1. Both Framework
  2. Scripts
  3. Garages
  4. User Guide

Impound & Auctions

Information

Police can impound players' vehicles. The auction system works as follows: if a player does not retrieve their impounded vehicle within a set time, the vehicle is transferred to the police department. The police can then go to the auction location and start an auction for that vehicle, selecting a custom duration for the bidding.

All players on the server can place bids on the vehicle, and the highest bidder wins ownership.

If no one places a bid and the auction time expires, the no_bidders_action option determines the outcome, which can be set to either:

  • "destroy" – The vehicle is permanently removed.

  • "award_to_job" – The vehicle is transferred to a specific job.

Configuration of impound auctions

  • menu_location: The location where police can interact to start an impound auction.

  • auction_spots: The number of available spots, determining how many vehicles can be auctioned at once.

  • auction_duration: Duration of each auction (in milliseconds).

  • no_bidders_action: Defines what happens if there are no bidders:

    • "destroy" – The vehicle is permanently removed.

    • "award_to_job" – The vehicle is sent to a job garage as a spawner with a maximum stock of 1.

  • default_recipient_job: The job that will receive the vehicle if the auction ends without bidders.

  • retrieval_expiration: The number of days a vehicle remains in the impound before it can be auctioned off.

  • min_bid_increment: The minimum bid increment to prevent spam.

  • buttons: Five default values created when opening the auction UI.

  • open_text: The text displayed where police can interact to open the menu.

  • auction_effects: Various effects triggered when someone wins a vehicle.

impound_auctions = {
    enabled               = true,
    money_account         = "bank",
    menu_location         = vector4(-270.74, -2076.61, 27.62, 246.46),
    auction_spots         = { -- The number of spots will determine how many vehicles can be auctioned at once
        vector4(-265.82, -2088.75, 27.2, 288.37),
        vector4(-266.76, -2085.31, 26.97, 290.15),
        vector4(-267.77, -2082.06, 26.91, 291.93)
    },

    auction_duration      = 60 * 1000,      -- Milliseconds | Duration of each auction
    no_bidders_action     = "award_to_job", -- "destroy" | "award_to_job"  | if there are no bidders, the vehicle will be destroyed or sent to a job garage as a spawner with max 1 stock
    manager_job           = "police",       -- Job that can manage the auctions
    default_recipient_job = {               -- Job that will receive the vehicle if auction ends without bidders
        name = "police",
        grade = 0
    },

    retrieval_expiration  = 5,      -- days | How long will the vehicle be in the impound before it can be auctioned off
    min_bid_increment     = 100,    -- Minimum bid increment  | Avoid spammers
    buttons               = {
        100, 500, 1000, 5000, 10000 -- Only 5 buttons will be shown
    },

    open_text             = "Open Impound Auctions",

    auction_effects       = {
        dictionary = "scr_indep_fireworks",
        name = "scr_indep_firework_starburst",
        iterations = 10,       -- How many times the effects will be played | set to 0 to disable
        iteration_delay = 200, -- Delay between each iteration
        max_distance = 200,    -- How far away from the auction spot the effects will be visible
    }
},

Demonstration Video

PreviousCreate Private GarageNextAdd vehicle to gang/job

Last updated 2 months ago

🚗
📑