MFPD-Advanced Unrack & Rack - Cfx Forum Post - Preview
Enables players to un-rack or rack specified weapons from vehicles.
Now includes a real-time offset editor:
/offsetfree-cam: aim and press E to set a custom interaction point on the vehicle (saved per model, radius 1.5 m, hot-reloaded to all clients).Offsets are stored in offsets.json and can be edited again at any time.
Key features
Ox-Target integration with dynamic bones / offsets (fallback radius 2.5 m if none set).
Stand-alone or QBCore; configurable job & grade gating.
Mythic Progbar or QBCore progress bar with custom sounds and animations.
Optional ACE check (
Config.AcePermission) for the offset editor.
Configuration
All options are in config.lua:
| Option | Purpose |
|---|---|
Framework | Standalone / QBCore |
TargetSystem | qb-target / ox-target |
Progressbar | MythicProgbar / QBCore |
Freecam, OffsetVehicles, AllowedVehicleClasses | Fine-tune editor, models and access |
Weapons, WeaponComponents, Categories | Define actions and their menu layout |
Messages, DefaultAmmo | Notification text and default ammo |
Dependencies
ox_lib and ox_target
mythic_notify and mythic_progbar
PlayCustomSounds
Installation
Place the resource and required dependencies in
resources/Add to server.cfg:
ensureox_libensuremythic_notifyensureox_targetensuremythic_progbarensurePlayCustomSounds ensure MFPD-Advanced-Unrack
Code access: config files only – core code is escrow.
Offset Preview:


