waseem-h / qb-garages

Garage System Used With QB-Core :car:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qb-garages

Dependencies

Screenshots

Take Out Vehicle Deposit Vehicle Depot

Features

  • Vehicles can't be duplicated.
  • Vehicle body health, vehicle engine health and vehicle fuel level saved to database.

Installation

Manual

  • Download the script and put it in the [qb] directory.
  • Add the following code to your server.cfg/resouces.cfg
ensure LegacyFuel
ensure qb-core
ensure qb-garages
ensure qb-houses
ensure qb-vehiclekeys

Configuration

  • Example garage adding (Add below Garages/HouseGarages/GangGarages depending on your choice)
    ["motelgarage"] = { -- Needs to be unique
        label = "Motel Parking", -- Garage name which will be shown in map and etc.
        takeVehicle = {x = 273.43, y = -343.99, z = 44.91}, -- Marker to see vehicle list
        spawnPoint = {x = 270.94, y = -342.96, z = 43.97, h = 161.5}, -- Coords vehicle will be spawned when taking out
        putVehicle = {x = 276.69, y = -339.85, z = 44.91}, -- Marker to put the vehicle
        isHouse = false, -- true: It's a house garage / false: It's a default garage
    },
  • You can change Depot location and blip name or add another depot location under "Depots"

About

Garage System Used With QB-Core :car:


Languages

Language:Lua 100.0%