Impound System

Quasar Advanced Garages features a robust impound system that can be used via commands or integrated into third-party systems through exports. This system is ideal for police or administrative roles, enabling the organized management of vehicles sent to impounds.


Using Impound Commands

Police and other configured roles (defined in Config.AllowedJobs) can use the /impound command. This opens a NUI interface that provides detailed options for handling impounds, including:

1

Impound Location

Choose where to send the vehicle.

2

Duration

Set how long the vehicle will remain impounded.

3

Waiting Time

Add any required delay before release.

4

Fines

Set a fine to be paid by the vehicle owner.

Command
Description

/impound

Opens the interface to impound a vehicle. Access requires a specific job.


Using Impound via Internal Code

For developers or advanced users, impounding vehicles can be managed programmatically through exports. These allow for integration with other systems or automated processes.

1

Client-Side Export

This export impounds the nearest vehicle from the player.

-- Impound the nearest vehicle
exports['qs-advancedgarages']:ImpoundVehicle()
2

Server-Side Export

This export impounds a specific vehicle using its plate number.

-- Impound a vehicle by its plate
exports['qs-advancedgarages']:impound(plate)

Last updated