Housing Garage
Start zone debugging
Navigate to the vms_garagesv2/config/config.lua
Find option
Config.DebugHouseGaragesZones
and set it totrue
Join to your developer server
When you join your development server, you will see such green areas marked with a balls, this is the area where the garage entry point from your external housing script must be located.
Find a house
Find a house where you plan to have a garage available.
Then run your menu to get the current character coordinates (vector4)
Orient the character with his back to the entrance gate
It is important to set the correct heading for vector4, as this will be the heading for the vehicle that is leaving the garage
Register a new house garage in vms_garagesV2
Navigate to the vms_garagesv2/config/config.garages.lua
Find
Config.HousingGarages
Find the last id of the house (for example
HouseGarage:32
)Register a new garage
Save the file and restart the script using the console
ensure vms_garagesv2
Make sure
zoneSize
is configured appropriately
It is important that the green ball does not overlap another green ball if they are houses close to each other.
It is important that the player is located with the vehicle in the green sphere and the entry point to the garage registered by the external script on the houses is located in this area.
Last updated