Vehicle MinigamesFitting locks to cars

Fitting locks to cars

Seat the lock on addon cars' doors, automatically or by hand.

On this page

The lock has to sit on each car's door, just ahead of the handle. Every vanilla car is fitted already (in minigames/lockpick/fits.json). Addon cars need fitting once, which tr_minigames can do for you.

Automatically

Stand on foot anywhere and run:

/lockpick_autofit

It goes through every car model on your server that has no fit yet, addon and escrowed cars included, with nobody at the keyboard: a few seconds a car. A bar at the bottom shows the car it's on, how many are left and roughly how long the rest will take.

KeyWhat it does
EscStop. Run it again to carry on where it stopped
BackspaceSkip this car

It prints what it found for each car to F8. At the end it lists the cars it couldn't fit, and marks the fits it wasn't sure about as check.

CommandWhat it does
/lockpick_autofitFit every car that has no fit yet
/lockpick_autofit redoAlso refit cars that were fitted automatically before. Fits made by hand are never overwritten
/lockpick_autofit <model>Fit one car
/lockpick_autofit <model> showFit one car and show the door map it read for 8 seconds

By hand

For the cars autofit couldn't do, or the ones it marked check:

/lockpick_fitall review

This brings up each car with the Lishi in the driver's door lock, one after another.

KeyWhat it does
ArrowsMove the lock along the door
Q / EOut of / into the door (hold Shift for 1 mm steps)
ScrollTip its face up or down
Z / XTilt it left or right (1°, Shift for ¼°)
CWide view
RUndo your changes
EnterSave and show the next car
BackspaceSkip
EscStop

/lockpick_fitall (without review) brings up every car without a fit, /lockpick_fitall all every car, and /lockpick_fitall <model> one.

Where fits are saved

Fits from both tools go to minigames/lockpick/fits.json, one line per model, and reach every player straight away. They win over vehicleFits in the config.

Still stuck? Open a ticket on Discord.