Garage System for fiveM
Tebex: https://mankind.tebex.io/package/6056089
CFX: https://forum.cfx.re/t/garage-system-...
Discord: / discord
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
Can restrict vehicles to a custom authorization check
Vehicle purchasing
Custom plate setup
Use society funds
Set default Livery and Mods
Can be setup to use shared vehicles
Shared vehicles are purchased and usable by anyone with job
4. Impound
Accessed by any player
Set jobs in config to enable command
Vehicles can be impounded for any amount of time
Vehicles can be set to only be released by certain jobs
Set a fee for release
Vehicles left on the street can be sent to impound 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
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
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. Simply get your coords and use the command to setup the garage
Easily edit any existing garages
Easy to use /addhousegarage command for players to add housing garages without needing to obtain any coords via admin tools
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