CS_GARAGE

A garage system supporting cars, boats, aircraft, faction vehicles, and impound lots.


Installation


Configuration

Config.lua

This file sets up the garages in your server, defining positions, types, and behavior.

General Settings
  • Locale: Sets the language. Current setting: "EN" (English).

  • distance: Max distance to interact with a garage. Example: 10.0

  • npcDistance: Distance for NPC spawning. Example: 20.0

  • impoundPrice: Price for retrieving impounded vehicles. Example: 500

  • ParkVehiclesOnStart: true / false – Spawn vehicles on server start.

  • SaveFuel: true / false – Save vehicle fuel.

  • FuelSystem: "LegacyFuel", "ox_fuel", "custom" – Fuel system to use.

  • SaveEngineHealth: true / false – Save vehicle engine health.

Garage Definitions

Settings for individual garages:

  • position: Coordinates of the garage.

Example: vector3(215.76, -810.12, 30.73)

  • heading: Vehicle spawn heading. Example: 90.0

  • NPC: Whether to spawn an NPC. Example: true

  • npcModel: NPC model. Example: "s_m_m_autoshop_01"

  • npcPosition: NPC position & orientation. Example: vector4(215.76, -810.12, 30.73, 180.0)

  • blipType: Icon type on the map. Example: "car"

  • vehtype: Vehicle type allowed. Example: "car"

  • impound: If garage is an impound lot. Example: true

  • job: Optional – restrict access to certain jobs. Example: {"police", "ambulance"}

  • spawnPoints: List of vehicle spawn positions.

Park-In Points

Defines where vehicles can be parked:

  • position: vector3 coordinates

  • marker: Custom marker settings (type, scale, color, etc.)

Blips

Custom blips for each garage or impound lot:

  • label: Example: "Garage"

  • sprite: Icon ID. Example: 50

  • color: Example: 3

  • scale: Example: 0.7

Notifications & Webhooks
  • HelpNotification(msg) – Shows help notification messages.

  • CustomClientSideNotification(title, msg, type) – Client notifications

Webhook Settings

Configure your webhook URLs for different events:

Webhook = {
    ParkedOutLink = "<your webhook URL for parked out>",
    ParkedInLink = "<your webhook URL for parked in>",
    UnimpoundedLink = "<your webhook URL for unimpounded vehicles>",
}
  • ParkedOutLink: Discord webhook URL triggered when a vehicle is parked out.

  • ParkedInLink: Discord webhook URL triggered when a vehicle is parked in.

  • UnimpoundedLink: Discord webhook URL triggered when a vehicle is unimpounded.

Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.

Support

If you have any further questions, open a ticket on our discord server: discord.gg/core-services

Last updated

Was this helpful?