Configuration
📜 Client Configuration (config.lua)
This file controls client-side settings, affecting vehicle interactions, impounds, and other in-game features.
Key Settings
Debug: Enables debugging features.
Prints
: Outputs debug information in the console.Zones
: Debugs garage zones.
TimeForImpound: Sets how long before a vehicle is impounded (in minutes).
CallVehicles: Allows calling vehicles from different garages.
AutomaticlyStartEngine: Automatically starts the engine when entering a vehicle.
JobBlipColor: Defines the blip color for job garages.
TargetNPCDistance: The distance required to interact with garage NPCs.
TargetCarDistance: The distance required to store a vehicle.
FriendCarSharing: Enables sharing of vehicles with friends.
VehicleTransfer: Allows transferring vehicles between players.
DefaultGarageName: The default name for personal garages.
Impound System
ImpoundsByType: Defines impound locations based on vehicle type.
DefaultImpoundName: Sets the default impound name.
SaveVehiclePropsInImpound: Sets if vehicle props should be saved when the vehicle is impounded so they can be restored. So you could take out not functioning vehicle
ImpoundPrice: Sets the price for retrieving an impounded vehicle.
ImpoundShowOfficerName: Displays officer names in the impound menu.
AutoImpound: Automatically impounds vehicles left in the world.
enabled
: Enables/disables automatic impound.time
: Frequency of impound checks (in milliseconds).
Vehicles Without Keys
A list of vehicles that do not require keys to be operated (e.g., bicycles, wheelchairs, certain emergency vehicles).
Creator Settings
Defines default NPCs and blips for garage creation.
NpcHash: The NPC model used.
DefaultBlip: Customization for blip appearance.
Impound Dispatch System
Handles notifications when a vehicle is impounded.
code: Dispatch code for impound requests.
jobs: Defines which jobs can request impound dispatch.
blip: Customizes the dispatch blip.
Impound Menu Settings
NpcAnim: Enables animations for impound NPCs.
NpcDriveCoords: Coordinates where the NPC will drive impounded vehicles.
TimeDeleteVehicle: Time (in milliseconds) before the impounded vehicle is deleted.
ProgressBarTime: Time (in milliseconds) for progress bar during impound process.
Command: The command used for impounding a vehicle.
Jobs: Jobs that are allowed to impound vehicles.
Key System
Toggle: Enables/disables the key system.
Distance: Defines how far the player can be to lock/unlock the vehicle.
NewKeyNPC: Settings for NPCs that provide new vehicle keys.
Includes price, location, animations, and blip settings.
LockPick: Configures vehicle lockpicking.
alarmTime
: Alarm trigger time.animDict
&anim
: Defines lockpicking animations.item
: The required lockpicking tool.Dispatch
: Enables police alerts on failed attempts.
HotWire: Configures hotwiring mechanics.
Defines skills, animations, and required tools.
VIN System
length: VIN number length.
allowedChars: Defines allowed characters in the VIN.
check: Toggles commands for checking VIN numbers.
scratch: Configures VIN scratching (removing identification).
Includes NPC settings, pricing, and locations.
Fake Plate System
Command: The command to remove plates.
Distance: The required distance for plate removal.
Chance: The probability of breaking the lockpick.
Duration: The time taken to remove a plate.
RemoveLockpick: Whether the lockpick should be removed after failure.
LockpickItem: The item required for plate removal.
PlateItem: The item representing the fake plate.
📌 Note: Ensure that both config.lua
and config_s.lua
are properly configured before launching the resource to avoid issues.
Last updated