Skip to Content
Mavix

House Garage

Park your own vehicles at home.

What it is

Most houses have their own garage. It uses the normal garage menu, but only the owner and key holders can use it.

A house garage: a car that is out can be tracked on GPS.
A house garage: a car that is out can be tracked on GPS.

How it works

  • Outside the house there are two markers: E Enter the garage on foot (opens your vehicles) and E Store the vehicle while in a car.
  • Each player only sees their own vehicles, also when they park at a friend's house with a key.
  • If you lose access (house sold, key taken), vehicles parked there show up at the Legion Square garage.

Keys & commands

KeyWhat it doesWho
E on the garage marker, on footOpen your vehiclesOwner and key holders
E on the garage marker, in a carPark the carOwner and key holders

Config options

House garage points are set per house in [esx]/[housing]/mvx_housing/configuration/config.lua (Garage of each house). The garage side is in [scripts]/[garage]/mvx_garages/config.lua:

OptionWhat it changesExample
Config.HouseGarages.EnabledHouse garages on or offtrue
Config.HouseGarages.AllowKeyHoldersLet key holders use the garagetrue
Config.DefaultGarageWhere vehicles go when access is lost'legionsquare'

Admin Quick Test

Setup

  1. You need a house with a garage. Buy the Sandy Shores trailer first (see the Houses test).
  2. Give yourself an owned car: /givecar <your id> sultan. Expected: "Vehicle ... has been parked in ...'s garage". A car made with /car is not owned and cannot be parked.
  3. Take the car out at the Legion Square garage: /tp 215.45 -809.80 30.73, press E and take out the Sultan.

Park at home

  1. Drive to the trailer's parking point: 1815.28, 3870.52, 33.19 (or teleport there with /tp 1815.28 3870.52 33.19 while in the car).
  2. Press E Store the vehicle. Expected: "Vehicle Stored" and the car disappears.

Take it out

  1. Walk to the garage entrance: /tp 1809.84 3862.77 33.89. Press E Enter the garage. Expected: the garage menu lists the Sultan.
  2. Take it out. Expected: it appears at the parking point with you in the driver seat.

Key holder

  1. Give a second player a key (see Keys). They press E at the garage entrance. Expected: they see only their own vehicles, not yours.

The end

  1. Park the Sultan again. Result: it is stored in the house garage. If you sell the house, it shows up at Legion Square instead.

If it doesn't work

No garage prompt: you do not own the house or hold a key. "This vehicle can't be stored": the car came from /car and is not owned.

On this page