[Standalone+QBCore] [PAID] MFPD Advanced Unrack System! Realistic Animation and Sounds!

The MFPD-Advanced Unrack & Rack Weapon resource facilitates weapon unracking and racking exclusively within emergency vehicles, using Custom Sounds! ensuring efficiency.

UPDATED! NOW SUPPORTS QBCORE’S PROGRESS BAR & IN-GAME OFFSET EDITOR

Buy here :heart:

  • Any Additional Support will be provided if needed!

Here’s how it works: :mag_right:

  • Framework Setting (Config.Framework): Determines integration preferences. Set to "Standalone" for independent use or "QBCore" for integration with QBCore framework.

  • QBCore Integration (Config.QBCore):

    • Allowed Jobs (Config.QBCore.AllowedJobs): Specifies jobs authorized to use the resource, you can add as many jobs as you want. Minimum grade levels can be set per job role.
  • Target System (Config.TargetSystem): Choose "ox-target" or "qb-target"-style setup. Uses dynamic bones/offsets; falls back to a 2.5 m radius if no offset is set for the vehicle model.

  • Progress Bar (Config.Progressbar): Use mythic_progbar or QBCore’s progress bar, both with custom sounds and animations.

  • Resmon Usage:

    • MFPD-Advanced-Unrack-Rack runs at 0.00ms IDLE and varies from 0.10ms-0.18ms maximum while unracking, after it finishes, it will immediately go back to 0.00ms`
  • Notification Messages (Config.Messages):

    • Equip Message (Config.Messages.equip): Notification displayed when equipping a weapon.
    • Store Message (Config.Messages.store): Notification displayed when storing a weapon.
  • Weapon Configuration (Config.Weapons): Defines each weapon’s properties:

    • Name (name): Internal identifier for the action.
    • Icon (icon): Icon used for the action.
    • Label (label): Displayed text for the action.
    • Weapon Code (weapon): Weapon spawn code.
    • Model (model): Model of the weapon for animations.
    • Action Type (actionType): Specifies whether the action is to “unrack” (equip) or “rack” (store) the weapon.
  • Default Ammo (Config.DefaultAmmo): You can set the default ammo quantity for all weapons upon unracking. The default being 200.

  • Weapon Components (Config.WeaponComponents): Specifies optional components for each weapon type, enhancing customization.

  • Categories & Menu Layout (Config.Categories): Organize actions into categories and control how they appear in the menu.

  • In-Game Offset Editor (/offset free-cam):

    • Aim at the vehicle and press E to set a custom interaction point.
    • Saved per vehicle model with a 1.5 m radius, hot-reloaded to all clients.
    • Offsets are stored in offsets.json and can be edited again at any time.
    • Optional ACE permission gate via Config.AcePermission.
  • This resource employs proximity checks to allow actions only when near vehicle doors. It integrates with mythic_progbar or QBCore’s progress bar for immersive progress displays and animations during actions, providing a realistic experience. Additionally, it supports both standalone and QBCore-integrated server environments, ensuring flexibility and compatibility.

Buy here :heart:

UPDATED! NOW SUPPORTS QBCORE’S PROGRESS BAR & IN-GAME OFFSET EDITOR

  • Any Additional Support will be provided if needed!

Dependencies:

Ensure you have the latest releases of these dependencies:

WATCH THE VIDEO PREVIEW HERE → :clapper: NEW LONGER SHOWCASE! :clapper:

Installation: :floppy_disk:

Method 1: Folder Setup

  1. Create a new folder (e.g., [MFPD-Unrack]) in your resources directory.
  2. Download the latest releases of ox_lib , ox_target, mythic_notify, mythic_progbar and PlayCustomSounds
  3. Place all downloaded resources into the [MFPD-Unrack] folder.
  4. Add ensure [MFPD-Unrack] to your server.cfg file.

Method 2: Manual Installation

  1. Ensure ox_lib , ox_target, mythic_notify, mythic_progbar and PlayCustomSounds are installed and started in your server.cfg:

ensure ox_lib
ensure mythic_notify
ensure ox_target
ensure mythic_progbar
ensure PlayCustomSounds
ensure MFPD-Advanced-Unrack

|-------------------------------------|----------------------------|

| Code is accessible | No (Config files only – core code escrow) |

| Subscription-based | No (One-Time Purchase) |

| Lines | 300+ |

| Requirements | ox_lib, ox_target , mythic_notify, mythic_progbar and PlayCustomSounds |

| Support | Yes |

|-------------------------------------|----------------------------|

2 Likes

Great Release. I just purchased, but didnt realize it was OX-TARGET only, anyway we could get qb-target support since OX-Target no longer supports QBcore. Thank you for your time.

1 Like

I’m sorry for missing the qb-target support, I’ll be updating later today, and will be notifying here when you asset has been updated.

Updated, added:

Config.TargetSystem = "ox_target" -- Options: "ox_target", "qb-target"

Now it will export from QB-Target if you choose QBCore framework, sorry for the inconvenience, and please report any other error, if that happens, that I’ll be looking out

You can re-download your asset @TheHotBox

1 Like

Amazing Response.

1 Like

Im getting an for qb-target.
Im on the latest version.

SCRIPT ERROR: @qb-target/client.lua:204: table index is nil
SetupOptions (@qb-target/client.lua:204)
fn (@b-target/client.lua:340)

1 Like

Also being able to use default qb notify and progress bars would be amazing as not alot of people will want to run a second notify system or switch to a different one.

1 Like

thank you for reporting in, I’ll be seeing possibility to add more abroad configurations to allow even more personalization.

This error and the requested will be taken upon more revised review to make sure that there are no errors with qb.

I’m happy to say that I’ve tested on my qbcore server and it’s now working properly!

The only request I couldn’t fill perfectly was qb-target, but at least, I got ox_target is fully working under a qbcore server, sorry for that.

UPDATED! You can download your asset again, hope that fits your server without errors.

  • Added in the config.lua:
    – Progress bar setting: “QBCore” or “MythicProgbar”

Config.Progressbar = “QBCore” – Choose between MythicProgbar or QBCore’s progress bar.

@MoonShineRolePlay

Thats awesome, but it seems that the config option for the target system is missing now. im getting a no export error for ox-target.

Sorry for all the trouble.

1 Like

I’m sorry but as I explained in the response before, I’ve had to remove qb-target as I couldn’t get it to work the way I needed, for some reason, i’ve spent hours trying to fix with qb-target, but I couldn’t. That’s why I focused to make this work on ox-target and managed it.

If that does not satisfy what you aimed to get, I can safely refund you asset; if not, just know that ox-target is essential, just not mythic_progbar, the progressbar has been changed to qbcore’s one, just as listed in config.lua

it’s just that I really suffered trying to get qb-target to work but the options just did not appeared at all, only with ox-target.

What if you added the event to the bones.lua

1 Like

Or if you tell me the event to open the menu I can add it to my own qb-target.

1 Like

I do thank you for trying tho.

1 Like

nomatter what i do it will not target and come up on any police vehicle

1 Like

i get no such export addtargetvehicle in resource qb-target

Firstly, I’m really sorry to have make you suffer and lost some time, I can confirm I did try to include qb-target one more time, sadly that did not worked out.

Now it’s back on working conditions.

The asset has been reverted to it’s previous state where it was fully functional with QBcore with support for QBcore’s progress bar, job restrictions and QB-Inventory

You can re-download your asset, keeping in mind, the ONLY target in use will be ox-target, as I said, unfortunately I’ve failed to provide a good format with qb-target and failed for many hours.

If you are unhappy with the removal of the attempted qb-target support, I can refund your asset and you can get your money back;

I’ve really tried to accomplish both targets, but qb-target has showed that apparently it handles somewhat different my methods used in ox-target, which I sadly couldn’t get through after spending some hours trying to fix.

if you could refund i would aperciate it unfortunitly i use qbtarget and i wish it would function thats 1 hell of a ideal. still love it though def do not give up. if you check your inbox i will send you the email i have it on

1 Like