Job Garages
If you are going to add more garages to your map, we recommend that you have a trusted developer help you with integrations and config.lua edits.
The garage can create different types of public garages using the in-game creator specified in the previous document, but the simple way is through config.lua, where we will see the complete integration of public garages and their general configurations.
Creation of job garages
In this example we can see the creation of a basic work garage, with improvements to some vehicles within it. We can use liveries, tuning or even extras. We will find this within Config.JobGarages.
Job garage with stock
Vehicles in stock are limited, if you have more than one worker, you will need to add more vehicles so that all workers have one vehicle.
The vehicle can only be stored in the specific job garage, not in another garage even if it shares the same job.
The vehicle cannot go impound, since when doing mdv or mdvall it will return to the specified work garage.
For the garage system by boss, society style, it is very simple. Follow the steps to understand the operation and procedure to put a vehicle stock.
To place a stock of vehicles, we must individually select in Config.JobGarages the owner's grade with the value grade, as mentioned in the step above or in the default configuration.
In that case, the boss can buy vehicles and go to the specific job garage to enter the addJobVehicle command to add this vehicle as stock in that job garage.
If the boss wants to remove said vehicle from work, he can use the deleteJobVehicle command and will be able to access a menu to remove a certain vehicle from this garage.
Command | Command explanation |
---|---|
/addJobVehicle | Add the car you are in to a job garage. |
/deleteJobVehicle | Remove the work vehicle from a certain garage. |
Last updated
Was this helpful?