🚔 Medit8z Gun Rack | Vehicle-Mounted Stash for Police/BCSO
The cleanest way to give your emergency vehicles a 5-slot weapon stash — plate-locked, persistent, and fully server-authoritative.
Hand-built for QBX Core servers running Ox Inventory, medit8z Gun Rack turns any emergency-class vehicle into a per-plate weapon locker. Civilians who get hold of a key can crack open a stolen patrol — once. Then the key snaps. Lockpick RP without giving away free access.
🎬 Preview
Preview drops soon — first footage in Discord.
🔒 Plate-Locked Per-Vehicle Stashes
Every rack is a unique Ox Inventory stash keyed to the vehicle's plate. Data survives server restarts, character switches, and disconnects — guaranteed.
Per-plate stash — unique inventory tied to each vehicle
Persistent storage — survives restarts, character switches, disconnects
Empty-to-remove safety — uninstall blocked while items remain inside
5-second progress bar — install consumes the gunrack item cleanly
🚔 Job-Locked Install & Uninstall
Only configured jobs can install or remove racks. Police and BCSO ship as defaults; extending to any custom department is one config edit.
Configurable whitelist — police, BCSO out of the box
Trivially extensible — SASP, State Police, custom departments
Server-side validation — every job check runs on the server, never the client
🗝️ Civilian One-Shot Keys
The gunrack_key item lets non-officers crack open a stolen patrol vehicle's rack. Open once, key breaks, item consumed. Perfect for high-stakes pursuit roleplay without giving civilians permanent access.
Single-use lockpick — opens the rack exactly once
Item consumed on use — no exploit window, no reuse
High-stakes RP — stolen patrols feel like a real prize
🔧 Smart Vehicle Class Filter
Emergency-class vehicles only by default. Extend or restrict with one config flag, and exclude lightbar or utility prop attachments by model prefix to keep installs clean and predictable.
🛡️ Built for Production
Server-side authority — every install, open, and uninstall validated server-side
Auto-migrating schema — gunracks table created on first start, zero manual SQL
Race-condition-safe — database patterns built for live servers under load
Asset-escrow protected — config.lua remains editable post-escrow
📦 Dependencies
qbx_core
ox_inventory
ox_lib
oxmysql
Lock down your fleet. medit8z Gun Rack — because stolen patrol vehicles should mean something.