Garage
Full garage / fleet / impound system for Qbox, with job and gang garages, impound, transfers, private garages and an admin menu. Can take over from jg-advancedgarages (same player_vehicles columns).
Requires: oxmysql, ox_lib, qbx_core, GR1M_Carkeys. Optional: GR1M_UltraBoss (boss fleet tab), GR1M_Mech.
#Ensure order
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure GR1M_Carkeys
ensure GR1M_Garage
ensure GR1M_GarageAdmin # optional
# stop any other garage script first
When using GR1M_Mech, ensure it after Garage:
ensure GR1M_Garage
ensure GR1M_Mech
Garage calls GR1M_Mech:OnVehicleSpawned after take-out / fleet spawn, and vehiclePlateUpdated on /vplate.
#Features
- Public car / sea / air garages
- Job & gang garages (
owned/personal/spawner) - Impound (
/iv) with fee, timer, self-retrieve - Transfers between garages and players
- Private garages (
/privategaragesfor realestate/admin) - Admin:
/admincar,/vreturn,/vplate,/dvdb,/setjobvehicle,/removejobvehicle,/setgangvehicle /garageadmin— full admin menu: create/edit/move/delete any garage kind (persists ingr1m_garage_overrides, wins over config.lua), vehicle search + fix/return-from-void/unimpound/re-plate/re-own/delete, bulk "return all out", and live fee settings (gr1m_garage_settings)- Optional interiors (hold Shift when opening if enabled in config)
- Vehicle images from
vehicle_images/ - Society banking for job garages: set
Config.Banking(Renewed-Banking, qb-management, esx_addonaccount, okokBanking, fd_banking, GR1M_UltraBoss)
#SQL
On start (when Config.AutoRunSQL is true), runs:
sql/install.sql— JG-compatibleplayer_vehiclescolumns,player_priv_garages,gr1m_fleet_vehicles,gr1m_garage_overrides,gr1m_garage_settingssql/migrate_from_ultraboss.sql— copiesultraboss_garage→gr1m_fleet_vehiclesif present
#Moving from jg-advancedgarages
- Remove
ensure jg-advancedgaragesfrom server.cfg - Restart the server once so the SQL runs
- Test store/take out, impound and transfers
#Config
Primary config is config/config.lua (locations, fees, integrations) plus config/integrations.lua, config/leo_valet.lua and locales/en.lua.
GR1M