Garage Admin
Admin lookup for any character's garages and owned vehicles, online or offline. Reads GR1M_Garage's player_vehicles, player_priv_garages and garage list. No tables of its own.
#Use
/garagelookup (admins). Search by character name, citizen ID, server ID, FiveM name or plate. Empty search lists every character: online first, then the most recently played (Config.BrowseLimit, 300).
Per character: every vehicle grouped by garage, with plate, model, nickname, status (stored, out in the world, marked out but not spawned, impounded), fuel / engine / body / tank from the last save, saved dents, mods summary and impound details (lot, fee, officer, hold time, reason), and everything in the trunk and glovebox (ox_inventory; live contents when the inventory is loaded, otherwise the last save in player_vehicles.trunk / glovebox, with serials, durability and ammo). The header totals every item and every currency in Config.Currencies (cash, dirty money, money bags...) across all their vehicles; each car row shows its item count and money.
Actions (server checked):
- Teleport to car and Set waypoint: only when the car exists in the world. Teleport grants an anticheat bypass ace (ElectronAC by default, see config) for 8 s if the admin doesn't already have it.
- Pull out to me: takes the real car out through GR1M_Garage
TakeOutForServiceand parks it 4 m in front of the admin, with temporary keys. Any world copy is deleted first (asks if a player is inside). Impounded cars must be released first. Stays out until parked or returned. - Return to garage: pick a garage, world copies are deleted. Refuses if a player is in the car unless confirmed. Job/gang flags are left alone.
- Release from impound: no fee, back to the garage it was impounded from.
Never spawns a copy. Use /garageadmin for fix, plate, owner and delete.
#server.cfg
ensure GR1M_GarageAdmin
add_ace resource.GR1M_GarageAdmin command.add_ace allow
add_ace resource.GR1M_GarageAdmin command.remove_ace allow
ensure after GR1M_Garage. The command ace (command.garagelookup) is added to group.admin by ox_lib. Change Config.CommandGroup to restrict it further.
GR1M