QBCORE [REL/QB] Wasabi Ambulance – ESX to QBCore ox/qb inv, okok, qb-phone, (1 Viewer)

nopixeliloveyou

Member
God VIP
Aug 7, 2025
13
2
3
Credits
95
Hey team 👋
I did this port for fun in about ~1 hour. I don’t guarantee it’s error-free, but I tried to keep it clean to learn and share.
Original source (ESX):

— it wasn’t QB, so I converted it myself to QBCore.
https://highleaks.com/threads/wasabi-ambulance-job-fixed.16166/




Download

https://drive.google.com/file/d/1TS-nZ9QbuUkUgdhoBr1eIsdh6wv4bwhz/view?usp=drive_link


What’s included (short version)


  • Full QBCore: player API, callbacks, commands, usable items.
  • Inventory choice: ox_inventory or qb-inventory (toggle in config.lua).
  • Billing: okokBilling or qb-banking / qb-management (your choice).
  • Phone (distress): qb-phone → sends an email to EMS.
  • Outfits: qb-clothing (or fivem-appearance, if you prefer).
  • Target: wrapper compatible with qtarget and qb-target (auto-detects).
  • UI/Notify: okokTextUI / okokNotify (falls back to ox_lib).
  • Locales: FR/EN (set Config.Locale), centralized strings.
  • EMS Job Menu: F7 by default (also /emsJobMenu).
  • Props: stretcher & medical bag working (stream/config OK).
  • Self-test: /emsSelfTest to validate ox_lib & UI/Notify.
  • Database: no ESX column (users.is_dead) — uses QB metadata.
    (No SQL changes needed; just register items in your chosen inventory.)

Dependencies


  • Required: qb-core, ox_lib, oxmysql, one of qtarget or qb-target, one of ox_inventory or qb-inventory.
  • Optional/Recommended: okokNotify, okokTextUI, qb-clothing (or fivem-appearance), okokBilling or qb-banking/qb-management, qb-phone.
    (If wasabi_carlock runs, EMS vehicle keys are handled — otherwise it’s silently ignored.)

Quick install


  1. Start order (recommended):
    ox_lib → qb-core → (qtarget or qb-target) → (ox_inventory or qb-inventory) → qb-clothing → okokNotify/okokTextUI → qb-banking/qb-management → this resource.
  2. Items + images:
    • ox_inventory: add items from INSTALL_QB/items_ox.lua into ox_inventory/data/items.lua + copy PNGs to ox_inventory/web/images.
    • qb-inventory: add INSTALL_QB/items_qb.lua into qb-core/shared/items.lua + copy PNGs to qb-inventory/html/images.
  3. Config(config.lua):
    • Config.Inventory = 'ox' or 'qb'
    • Config.billingSystem = 'okok' or 'qb'
    • Config.skinScript = 'qb' or 'appearance'
    • Config.Locale = 'fr' or 'en'
  4. Run the resource → F7 opens the EMS menu.
    Bonus: run /emsSelfTest to check ox_lib & UI/Notify availability.


Have fun, and feel free to send feedback/PRs 🚑💙
 

nopixeliloveyou

Member
God VIP
Aug 7, 2025
13
2
3
Credits
95

[RELEASE] wasabi_ambulance_qb — QBCore Update Patch V2


Google Drive - Patch V2 with script

What’s new (short & precise)


  • Fixed /revive command (correct QBCore signature).
  • Corrected AddMoney('cash', reward, ...) and Player → xPlayer references.
  • Inventory wrappers for OX/QB (GetItemCount/RemoveItem/AddItem): works with ox_inventory or qb-inventory.
  • Automatic billing on revive/heal/sedate: okokBilling or qb-banking/qb-management.
  • Stronger server-side checks: job + proximity (~3.5 m).
  • Unified target support: qtarget or qb-target.
  • okokTextUI hide/close patch; cleaned fxmanifest.
  • Added README, complete locales, kept provides { 'qb-ambulancejob' }.

Dependencies


Required:


  • qb-core, ox_lib, oxmysql

Choose-one (optional but still required by group):


  • Inventory: ox_inventory or qb-inventory
  • Target: qtarget or qb-target
  • Billing: okokBilling or qb-banking / qb-management
  • Clothing: qb-clothing or fivem-appearance

⚠️ “Optional” means you must have at least one from each group (e.g., ox_inventory or qb-inventory).

Installation & Usage


  1. Place wasabi_ambulance_qb in resources/[jobs]/.
  2. Start oxmysql, ox_lib, then this script.
  3. Configure config.lua:
    • Config.Inventory = 'ox' or 'qb'
    • Config.Billing.system = 'okok' or 'qb'
    • Config.Locale = 'fr' | 'en', Config.skinScript = 'qb' | 'appearance'
  4. Add items via INSTALL First QB/ (matching your inventory).
  5. Admin commands: /revive [id], /reviveall.
    Billing triggers automatically per your configuration.
    okokTextUI/okokNotify are auto-detected if running.
 

Users who are viewing this thread

Top