Configuration: Garages

Configuration: Garages

This section explains how to add vehicles to the garage purchase system in HTNFW for jobs like police or EMS.

Adding Vehicles to HTNFW Garages

Locate the Configuration File:
Navigate to \resources\[htn-core]\htn-garages\shared\config.lua in your server’s resource folder.

Open the File:
Open config.lua using a text editor (e.g., VS Code, Notepad++).

Find the Job Category:
Locate the job category in Config.Purchase (e.g., police or EMS).

Select or Create a Subcategory:
Within the job’s cars table, select an existing subcategory (e.g., normal).

Add the Vehicle:
Add a vehicle entry in the format:

{'Display Name', 'model_name', 'description', price},