Installation
Installation Guide – v42-Jobgarage
Step 1: Ensure All Dependencies Are Installed
Before proceeding, confirm that all required dependencies for your framework (QBCore or ESX) are:
Installed
Running properly
Using the latest stable versions
✅ Compatible Inventory/Target and Text UI resources should also be installed and configured correctly depending on your server setup.
Step 2: Install the Resource
Drag and drop the
v42-jobgaragefolder into your server’sresourcesdirectory.Add the following line to your
server.cfgafter all dependencies:
ensure v42-jobgarageStep 3: Add Items & Images
Make sure to:
Add any required vehicle images referenced in the config (e.g.,
assets/img/vehicles/jobname/vehiclename.png).Use image links if preferred, especially for boat/air vehicles.
🔍 Paths like
assets/img/vehicles/politie/audia6stick.pngmust be valid and correctly mapped in your inventory/HTML resources if you use in-game UI displays.
Step 4: Import SQL Files
This script does not require SQL imports. However, all job roles referenced in the garage must exist in your job table or framework configuration (e.g., police, ambulance, mechanic).
Step 5: Configure the Script
Open config.lua and adjust core settings:
Config.Framework–'qb'or'esx'Config.CoreName– Name of your core resource (e.g.,'qb-core','es_extended')Config.UseTextUI– Toggle use of Text UI prompts (true/false)Config.Debug– Enable for development and zone testing
Step 6: Configure Garage Locations and Jobs
Edit the Config.Jobs table:
Set takeVehicle and spawnVehicle vectors for each garage location
Use the job name as the key (e.g.,
police,ambulance)You can define multiple garage types (car, boat, helicopter)
Each job has:
Garage Info (
title,img)Garage Points for vehicle spawning
PutVehicle positions for despawning vehicles
Step 7: Define Job Vehicles
In Config.JobVehicles, define which vehicles each job can access:
Vehicles are grouped into categories
Each vehicle has:
A spawn name
A display name
Optional info (e.g., number of seats, use case)
An image path or link
Be sure spawn names exactly match valid vehicle models on your server.
Step 8: Start or Restart the Server
To apply all changes:
Run the following in your server console or F8:
refresh ensure v42-jobgarageOr restart your server
Notes
Compatible with QBCore and ESX frameworks
Vehicle images must be accurate or replaced with hosted image links
Multiple garage types (ground, boat, heli) are supported per job
Fully customizable via
config.luaand supports category sorting
Last updated
