Configuration

Impounds

Learn how to configure impounds.

Creating a New Impound

Follow these steps to add a new impound location:

  1. Open the config.impounds.lua file in the resource folder.
  2. Locate the Config.Impounds table.
  3. Add a new entry in the table, structured as follows:
Config.Impounds = {
    ...
    -- Add a new impound entry here
    {
        coords = vector4(x, y, z, heading), -- Location of the impound
        vehicle = vector4(x, y, z, heading), -- Vehicle spawn point
        price = 500, -- Cost to retrieve a vehicle
    }
}
  1. Replace the first x, y, z, and heading with the impound location.
  2. Replace the second x, y, z, and heading with the vehicle spawn position.
  3. Set price to the desired retrieval cost.
  4. Save the file and restart the resource.

Configuring the Impound Ped

Change Model

  1. Open the config.impounds.lua file in the resource folder.
  2. Locate the Config.ImpoundModels table.
  3. Add a new entry using the following format:
Config.ImpoundModels = {
    ...
    'MODEL'
}
  1. Replace 'MODEL' with the desired ped model name.
  2. Save the file and restart the resource.

Change Animation

  1. Open the config.impounds.lua file in the resource folder.
  2. Locate the Config.ImpoundScenarios table.
  3. Add a new entry using the following format:
Config.ImpoundScenarios = {
    ...
    'SCENARIO'
}
  1. Replace 'SCENARIO' with the appropriate animation scenario.
  2. Save the file and restart the resource.

Changing the Default Impound Blip

To modify the default blip settings for impounds:

  1. Open the config.impounds.lua file in the resource folder.
  2. Locate the Config.ImpoundBlip table.
  3. Adjust the values as needed:
Config.ImpoundBlip = {
    sprite = 68, -- Blip icon (see link below for options)
    scale = 0.8, -- Blip size on the map
    color = 5, -- Blip color
    title = 'Impound' -- Displayed name
}

You can find a full list of available blip icons and their corresponding IDs here.

  1. Save the file and restart the resource.

Impound Configuration Reference

Impound Table Properties

PropTypeDefault
coords
vector4
-
vehicle
vector4
-
price
number
-

On this page