Vehicle MinigamesInstallation

Installation

Get Vehicle Minigames running on your server: the start order, the two items, and what to check before going live.

On this page

Download it

Get the latest release from GitHub and unzip it.

Put it in your resources

Put the folder in your server's resources folder, named exactly tr_minigames.

Start it after tr_core

server.cfg
ensure tr_core
ensure tr_minigames

Add the two items

The item entries and their pictures are in the resource's install folder. Pick your inventory:

Paste these into ox_inventory/data/items.lua, inside the returned table:

ox_inventory/data/items.lua
['wire_strippers'] = {
    label = 'Wire Strippers',
    weight = 250,
    stack = false,
    description = 'For when you lost your keys. Or someone else did.',
},

['lishi_pick'] = {
    label = 'Lishi Pick',
    weight = 150,
    stack = false,
    description = 'A 2-in-1 pick and decoder for car door locks. Light hands.',
    client = {
        export = 'tr_minigames.lockpick', -- "Use" in the inventory starts lockpicking
    },
},

Then copy install/images/*.png to ox_inventory/web/images/.

Using the Lishi pick from the inventory starts lockpicking.

Restart the server

Your inventory reads its items when the server starts, so restart the whole server, not only the resource.

Before going live

  • Turn devMode off in minigames/hotwire/config.lua and minigames/lockpick/config.lua. It's off by default; turn it on only while setting up.
  • Got a vehicle keys script? Read Hotwiring and keys: with most keys scripts you'll want giveKeys = true.
  • Addon cars need the lock fitted to their doors once. See Fitting locks to cars.

Still stuck? Open a ticket on Discord.