Advanced Ambulance Job & Skeletal System

tk_ambulancejobGIF

tk_ambulancejob

Video | Purchase


Details

  • Uses FiveM Asset Escrow System
    • All framework-specific code is fully editable
  • Complete and modern EMS system, fully replacing your old ambulancejob
  • I strongly recommend watching any demonstration videos to get a full understanding of the script

Skeletal System

Skeletal UI

  • Full body injury visualization
  • Open via command or menu
  • Shows all body parth health, injuries & bullets
  • 2 different designs: “menu” & “cam”

Injury System

  • Multiple different injury types:
    • shot, stab, bruise, fracture, sprain, burn, crush, bite, explosion, electrical, other
  • Different injuries leave different debuffs

Bullet Effects

  • Getting shot will now have consequences (configurable & can be disabled):
    • Head: Player camera will shake
    • Torso & Legs: Player can ragdoll
    • Arms: Aim shake when shooting, too many bullets in arms can disable shooting
    • Legs: Movement will slow, too many bullets will disable sprinting and jumping

Debuff System

  • Debuffs have their own chances and health threshold which can be configured
  • Each injury applies its own debuffs
  • 11 different debuffs:
    • Movement reduction: reduces movement speed
    • No sprint: disables sprinting
    • No jump: disables jumping
    • Vision blur: vision blur
    • Camera shake: random camera shake
    • Reduced grip: camera shake when shooting
    • Aim shake: shake when aiming with a weapon
    • Stamina drain: reduces max stamina
    • Drunk vision: drunk visual effect
    • Bleed: health drain
    • Ragdoll: random ragdolls
  • Debuffs update dynamically as injuries heal

BPM System

  • Player heart rate is affected realistically by player injuries and death state
  • EMS can analyze patient heart rate through the skeletal menu
  • Manual analyzing
    • Press button to analyze and show in skeletal view
  • Automatic analyzing
    • Need item “ECG” in inventory
    • Analyzes target BPM constantly without needing to do anything

Healing Items

  • 13 different items by default:
    • Bandage
    • IFAK
    • Tourniquet
    • Gauze
    • Burn Gel
    • Surgical Kit
    • Saline Bag
    • Leg Brace
    • Arm Brace
    • Body Brace
    • Neck Brace
    • Ice Pack
    • Painkillers
  • All healing items remove injuries logically depending on type & severity
  • Items work on yourself and other players
  • Support for tk_evidence allowing EMS to get bullet fragments when removing bullets that can later be analyzed by police

Death & Revival System

Last Stand

  • When a player goes down, they enter last stand
  • While in last stand, player can crawl
  • Configurable bleed-out timer

Full Death State

  • If shot or hurt again, player enters full death mode
  • Player can be revived by EMS or respawn at hospital after configurable timer

Revival Tools

  • Revive via menu options, or by using items
  • Setup required jobs and revive success chances per revive option
  • By default 3 different options:
    • CPR
    • Defibrillator
    • Adrenaline Syringe

Bodybag

  • Place bodies into a bodybag
  • When put in a body bag, you can’t be revived anymore and your only option is to respawn at hospital

Job Details

Job Menu

  • Press F6 to open the main EMS menu (or via target)
  • Actions:
    • View Injuries
    • Drag
    • Put in Vehicle
    • Take Out from Vehicle
    • Bill Patient

Stretcher System

  • Spawn, attach, detach
  • Move players onto stretcher
  • Works with other players flawlessly

Other Equipment

  • Wheelchair
    • Can be placed down and picked back up using item
  • Walking Stick
  • Medical Bag
    • Can be placed down by EMS and will be seen by other players
    • Has built in stash where you can store items

Tracker (Job Blips)

  • Shows real-time EMS positions on map
  • Different blip styles (on foot, vehicle, air)

Hospitals

  • Beds
    • Players can lay down on beds
    • Configurable injury treatment/healing after a set time
  • Medic NPC
    • Revives player if no EMS are online
  • Shop
  • Storages
    • Personal Storage
    • Public Storage
    • Locker Storage
  • Wardrobe
    • Outfits can be set in config and boss players can also save outfits in-game
  • Boss Menu
  • Toggle Duty
  • Elevators
  • Garage
    • Configure vehicle categories and vehicles
    • Includes owned vehicle system allowing officers to store/retrieve same vehicle
  • Mechanic
    • Quick-repair or wash
    • Includes configurable modifications like liveries and colors
  • Configure as many hospitals as you want.

Other Features

  • Optimized
  • Highly Configurable via config.lua
    • Modify injuries, debuffs, items, timers, menus, EMS actions, hospitals, and more
  • Supported Frameworks
    • ESX
    • QBCore
    • QBOX
    • Custom
  • Supported Inventories
    • ox_inventory
    • qb-inventory
    • qs-inventory
    • Custom
  • Supported Targets
    • ox_target
    • qb-target
    • Custom (3D Text Prompts)
  • Translations
    • English and Finnish included
    • Easy to add more in locales/
Screenshots




Config | Documentation | Video | Purchase (24.99€ + VAT) | Monthly Subscriptions


Code Accessibility Partially (all framework functions/events editable)
Subscription Based No
Approximate Lines ~15000
Requirements esx/qb/qbox, mysql-async/oxmysql
Support Yes
6 Likes

tk_ambulancejob - 1.0.1 - all files

  • Add BPM system to skeletal showing the player heart rate
  • Add health and BPM to skeletal cam view
  • Add event tk_ambulancejob:onPlayerRevive
  • Add weaponInjuryTypes to Config.SkeletalDamage
  • Add IsLastStandInjury to editable client file
  • Add CanRevive to editable client file
  • Add CanOpenSkeletal to editable client file
  • Add CanUseHealingItem to editable client file
  • Fix not being able to change UI color in config

tk_ambulancejob - 1.0.2 - server/death.lua, fxmanifest.lua

  • Add comaptibility for txAdmin heal event so that it will also revive players

tk_ambulancejob - 1.0.3 - all files

  • Allowing setting coords for beds instead of only models
  • Add same healing settings to medics as beds
  • Rework bleed to be its own injury type
  • Change Config.ShowBPM to Config.BPM.show
  • Add Config.BPM.item. If item is set you will now need it for constant BPM updating, otherwise you will need to check patient BPM manually
  • Fix setting Config.LastStand.enable to false not working

tk_ambulancejob - 1.0.4 - server/death.lua, server/main_editable.lua, server/frameworks/, config.lua, fxmanifest.lua

  • Add comaptibility for txAdmin heal event so that it will also revive players
  • Minor changes & fixes

tk_ambulancejob - 1.0.5 - all files

  • Refresh player hunger and thirst when revived
  • Minor changes & fixes

tk_ambulancejob - 1.0.6 - client/main.lua, client/skeletal_damage.lua, server/main_editable.lua, fxmanifest.lua

  • Minor fixes

tk_ambulancejob - 1.0.7 - client/main_editable.lua, client/skeletal_damage.lua, shared/skeletal_utils.lua, config.lua, fxmanifest.lua

  • Add Config.SkeletalDamage.disabledWeapons
  • Add CanGetDamaged to editable client file
  • Minor fixes

tk_ambulancejob - 1.0.8 - client/death.lua, client/main_editable.lua, fxmanifest.lua

  • Move GetRespawnLocation to editable client file

tk_ambulancejob - 1.0.9 - client/debuffs.lua, fxmanifest.lua

  • Fix debuffs not being removed on rare occasions

tk_ambulancejob - 1.1.0 - client/main.lua, client/medic.lua, client/bed.lua, client/death.lua, server/death.lua, locales/*, fxmanifest.lua

  • Fix being able to use the medic when dead even though revive was set to false
  • Fix setDeathState export not working in some occasions
  • Add exports.tk_ambulancejob:revive(playerId, healInjuries)

tk_ambulancejob - 1.1.1 - shared/skeletal_utils.lua, fxmanifest.lua

  • Fix rare case where health could show wrong for some peds

tk_ambulancejob - 1.1.2 - client/death.lua, client/medic.lua, client/bed.lua, config.lua, fxmanifest.lua

  • Fix ped not staying in vehicle when dying
  • Possible fix for issue for servers that have spawnmanager where player would be teleported to a random location upon death
  • Add teleportToBed option to medics

tk_ambulancejob - 1.1.3 - client/main.lua, client/stretcher.lua, client/walking_stick.lua, server/main.lua, server/main_editable.lua, config.lua, fxmanifest.lua

  • Add Config.Stretcher.vehicles
  • Add Config.WalkingStick.pos & Config.WalkingStick.rot
  • Move revive command to editable server file

tk_ambulancejob - 1.1.4 - client/main.lua, client/revive.lua, client/death.lua, client/skeletal_damage.lua, client/frameworks/, shared/skeletal_utils.lua, shared/utils.lua, web/build/, config.lua, fxmanifest.lua

  • Add exports.tk_ambulancejob:useReviveOption(targetId, reviveOptionIndex)
  • Add Config.ShowHPInSkeletalView
  • Fix BPM showing incorrectly in rare occasions
  • Force 200 max health for all ped models
  • Other minor fixes & improvements

tk_ambulancejob - 1.1.5 - client/skeletal_damage.lua, server/skeletal_damage.lua, shared/skeletal_utils.lua, fxmanifest.lua

  • Performance improvements

tk_ambulancejob - 1.1.6 - client/main.lua, client/player_vehicle.lua, client/stretcher.lua, server/stretcher.lua, config.lua, fxmanifest.lua

  • Minor improvements to stretcher system
  • Add Config.Stretcher.allowAlivePlayers

tk_ambulancejob - 1.1.7 - client/death.lua, fxmanifest.lua

  • Detach player ped from any other peds when respawning at hospital

tk_ambulancejob - 1.1.8 - client/bed.lua, client/medic.lua, server/bed.lua, locales/*, config.lua, fxmanifest.lua

  • Prevent multiple people from going on same bed
  • Add Config.Beds.headingOffset

tk_ambulancejob - 1.1.9 - client/death.lua, config.lua, fxmanifest.lua

  • Add Config.DisableDeathUI

tk_ambulancejob - 1.2.0 - client/bed.lua, client/death.lua, config.lua, fxmanifest.lua

  • Fix medic teleportToBed option not working after last update
  • Add Config.ReviveDetach

tk_ambulancejob - 1.2.1 - client/debuffs.lua, client/skeletal_damage.lua, fxmanifest.lua

  • Fix bleed amount and chance not being calculated correctly

tk_ambulancejob - 1.2.2 - client/dragging.lua, fxmanifest.lua

  • Fix dragging anim continuing to play on target even when stopping dragging (was caused by last update)

tk_ambulancejob - 1.2.3 - client/healing.lua, server/death.lua, fxmanifest.lua

  • Add exports.tk_ambulancejob:healInjuries(playerId)

tk_ambulancejob - 1.2.4 - client/death.lua, config.lua, fxmanifest.lua

  • Add Config.HideDeathUIInPauseMenu, fixes death and last stand UI rendering on top of the GTA pause menu

tk_ambulancejob - 1.2.5 - client/main_editable.lua, client/skeletal_damage.lua, fxmanifest.lua

  • Move gameEventTriggered event handler to editable client file

tk_ambulancejob - 1.2.6 - client/stretcher.lua, config.lua, fxmanifest.lua

  • Add Config.Stretcher.patientOffset to adjust patient position on custom stretcher props

tk_ambulancejob - 1.2.7 - client/skeletal_damage.lua, server/skeletal_damage.lua, fxmanifest.lua

  • Add exports.tk_ambulancejob:getBodyParts() and exports.tk_ambulancejob:getBodyParts(targetId) (client & server side)

tk_ambulancejob - 1.2.8 - client/stretcher.lua, config.lua, fxmanifest.lua

  • Add Config.Stretcher.offset to adjust stretcher position when carried in hand

tk_ambulancejob - 1.2.9 - client/death.lua, client/main_editable.lua, client/stretcher.lua, server/objects.lua, config.lua, fxmanifest.lua

  • Add Config.Stretcher.rotation to adjust stretcher rotation when carried in hand
  • Add Config.Objects.storage.items for setting starting items in a placed object (ox_inventory only, added only when the bag is first created)
  • Add CanPlayDeathAnimation to editable client file

tk_ambulancejob - 1.3.0 - client/objects.lua, server/main_editable.lua, server/objects.lua, shared/utils.lua, config.lua, fxmanifest.lua

  • Add onlyEMS to Config.Objects entries to restrict placing, picking up and opening storage to EMS jobs only