Garage System [QB] [QBX] [ESX]

A script by ManKind

No reviews yet.
Garage System [QB] [QBX] [ESX] main image

Full Description

ManKind Scripts

[Tebex]
[Showcase Video]
[Config Files]

Dependencies:

  • One Sync Infinity enabled on your server
  • [ox_lib]
  • [oxmysql]
  • Supported Frameworks
    • QBCORE
    • ESX

Script Features:

  • 4 seperate garage types for storing vehicles
    1. Public
      • Accessed by any player
      • Store owned vehicles
      • Track vehicles already taken out
      • Can access all vehicles in any public garage if setup in config
    2. Private
      • Requires authorization
        • Authorization types
          1. Property
            • Housing function checks to determine access
          2. Job
            • Specific job and grade check
          3. Gang (qb-core)
            • Specific gang and grade check
          4. Custom
            • Custom function check to determine access
    3. Job
      • Only vehicles setup in the config for this specific job are allowed to be stored
      • Job and grade check for access
      • Can restrict vehicles to a custom authorization check (example: helicopter license check)
      • Vehicle purchasing
        • Custom plate setup if desired
        • Use society funds if available
        • Set default Livery and Mods vehicle will have when purchased in config
      • Can be setup to use shared vehicles
        • Shared vehicles are purchased and usable by anyone with job and grade access
    4. Impound
      • Accessed by any player
      • Set jobs in config to enable the /impound command
      • Vehicles can be impounded for any amount of time
      • Vehicles can be set to only be released by certain jobs (example: police)
      • Set a fee for impound release
      • Vehicles left on the street can be sent to impound with a custom fee upon server restart if set in config
  • Each garage can be setup with 1 of 4 vehicle types. Vehicle type must match the garage vehicle type to be allowed storage (example: Helicopter cannot be stored in a Water garage)
    1. Air
      • Any vehicle class deemed 15 or 16 via GetVehicleClass native will be allowed storage
    2. Water
      • Any vehicle class deemed 14 via GetVehicleClass native will be allowed storage
    3. Land
      • Any vehicle that does not fall into the Air or Water class will be allowed storage
    4. Land or Air
      • Any vehicle that falls into the Land or Air category will be allowed storage
  • Garage Access
    • By default garages can be opened using either a TextUI notification and Keypress or through the ox_lib radial menu (radial options are only viewable while inside a garage zone)
    • Export is provided to easily open the garage menu via a command, target menu or any other option you choose
    • If you lose or gain access to a non public garage it is immediately available or taken away
  • Storing Vehicles
    • Vehicles can be stored by anyone who has keys and access to the garage. Can be changed in config so only the vehicle owner can store
    • Vehicles with a fakeplate can be stored if allowed in the config
    • Export is provided to easily store vehicles via a command, target menu or any other option you choose
  • Adding/Editing Garages
    • All garages are stored in a database
    • Adding or editing garages become usable or removed immediately without requiring any server or script restarts or player relogs
    • Extensive menu system for adding a new garage for admins. Simply get your coords and use the command to setup the garage
    • Easily edit any existing garages to make changes
    • Easy to use /addhousegarage command for players to add housing garages without needing to obtain any coords via admin tools
      • setup a job to use this command
  • Notes
    • Script optimization (0.0MS)
    • Vehicles left out on the street are sent back to their previous garage on server restart (unless config setup to impound them)
    • 22 Default garages
    • Fake plate support
    • Server spawned and tracked vehicles

My Other Scripts

| Code is accessible | Config / Locales |
| Subscription-based | No |
| Lines (approximately) | ~7,500 |
| Requirements | ox_lib / oxmysql|
| Support | Yes (Discord) |

(For releases without code the not applicable fields can be written as N/A)

Config Merger
Have you tried Config Merger? Merge your configs easily