Installation
Adding resource
To properly install our garages, make sure to firstly put our resource to /resources folder. Then, headover to the txAdmin > Live Console > CFG Editor and add on the last line:
ensure ZSX_GaragesMake sure that ZSX_Garages start before fuel, key system and housing system.
Adding required resources
Our garages needs the target resource that you most likely already have, list of the most used ones:
ox_target
https://github.com/overextended/ox_target/releases Additionally you will need ox_lib.
qb-target
https://github.com/qbcore-framework/qb-target QBCore only.
Configuring custom vehicles data
This part is crucial!
If you want fulfill the Config.Vehicles table your vehicles will not be accessible in any garage/impound!
Headover to the ZSX_Garages/shared/config_vehicles.lua and fulfill the Config.Vehicles table with all your vehicles available in the game.
You can also disable that (you will need to have vehicles registered using AddTextEntry native) by setting Config.UseVehiclesTable = false.
Tips
Make sure to not restart the resource by any means. Otherwise data that should be saved might be lost.
Last updated