[PAID][ESX][QBCore] Ambulance + (A replacement for esx_ambulancejob)

Hello there. As the title suggests, this is a replacement for the old washed up ambulancejob.

Video Preview
Tebex Link

So, getting into the script!

  • Death Animation - When you are “Dead” you will be “revived” and placed into an animation until you are revived. Your animation will be reset every 30 seconds to keep your position as accurate as possible so no more not being able to find dead people.
    – When inside of a vehicle, your Animation will change to that of someone sitting slumped over.

  • Death Cause/Check Pulse - Doing /checkpulse will reveal someones cause of death so you can treat them. TREATING THEM IS IMPORTANT BECAUSE:
    Reviving a Gunshot victim without treatment will cause them to spawn with ONLY 50% HP
    Reviving a Stab/Melee victim without treatment will cause them to spawn with ONLY 60% HP
    Reviving a Burn/Exlposion victim without treatment will cause them to spawn with ONLY 80% HP

  • Medical Bag - Every EMS (And probably Police when no ems are around) should be kitted with a Medical Bag. When using the medbag, it will be held in your hand. Hit E to drop it onto the ground where it can be interacted with. Inside the medical bag you’ll find a lot of different items.
    Suturekit : Used to treat Melee/Stab Wounds.
    Tweezers : Used to extract bullets from bullet wounds.
    Burn Cream : Used to treat Burns.
    Sedatitve : Used to sedate uncooperate/highly wounded individuals. Will render them unconscious/unable to move for 30 seconds.
    Stretcher : Used to transport patients from the ground to the ambulance/hospital beds.
    Defibrillator : Used to revive patients/restart their heart.

Important Note - EVERYONE Can use a Defibrillator, BUT! Only Police/EMS Will have a 100% Success rate using it. If a non ems/police try and use it, they have a 15-20% chance of success, and the item will be used whether they succeed or not.

Body Bags - For people who are permaing, you can /bodybag to bag up their bodies. They can be carried or escorted just like a normal person. Thanks to @BTNGaming for this.

  • The Stretcher - As stated above, the stretcher is used to transport individuals to the ambulance/to the hospital.
  • Keybinds aren’t set up for this, but can easily be done, so for now you’ll have to use commands.
    – /putonstretcher : Self explanatory, will put a DOWNED INDIVIDUAL onto a stretcher
    – /putiv : Will transfer an individual on a stretcher into a vehicle
    – /takeout : Will take out an individual from a vehicle and place them back onto a stretcher for transport.
    – /delstretcher : Will remove the closest stretcher to you.

Nancy Check In - When EMS are Busy, people can check in at Nancy who will transport you to a bed for treatment. YOU CAN CHECK IN WHILE DEAD to get revived, but nancy WILL NOT TREAT YOUR WOUNDS.

Bed Check In - For those that are not “Dead”, You can walk right up to a bed and lay down for treatment.

Grandma/Illegal Revive - For those who desire it, you can also allow people (Criminals) to revive via Grandma. You can set her coords anywhere you want via the Config.

Wheelchair - I forgot to show it in the video, but you can use WHEELCHAIRS as well. They are set up as Items and when used, puts you in a wheelchair. Using the item again will pick up the wheelchair. Cannot pick it up while other people are using it. IT IS AN ACTUAL VEHICLE, not a prop.

Other Commands -
/911 YOURMESSAGE - To let people know you have an emergency, Will show a blip for all EMS/Police
/911r YOURMESSAGE - Will respond to the last 911 call received

THE SCRIPT DOES NOT INCLUDE PLAYER BLIPS FOR EMS, There are many great free scripts out there that handle this, I suggest using one of those!

My ultimate goal with the script was to provide EMS with more RP by forcing people to have to receive ACCURATE treatment for their wounds instead of the old (I Fell, I forgot to eat, etc) excuses that people may have.

I think I got everything but if I missed something, I’ll update this post. If there are things you’d like to see added, feel free to ask and I’ll try and get to it.

Items used: suturekit, recoveredbullet, tweezers, medbag, stretcher, defib, sedative,burncream, wheelchair

The script requires ESX; Tested on Legacy but should work on -any-
swt_notifications - GitHub - Switty6/swt_notifications (Or you can change it to your notification of choice)
PolyZone - GitHub - mkafrin/PolyZone: PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zone
bt-target - GitHub - brentN5/bt-target
nh-contextmenu - GitHub - nerohiro/nh-context: Simple, minimalistic event firing context menu
^ Provided in the ZIP for the Script (Uses an older version of nh-context & nh-keyboard)

Please ensure your bt-target (or whatever target you use) has THIS export

function AddEntityZone(name, entity, options, targetoptions)
Zones[name] = EntityZone:Create(entity, options)
Zones[name].targetoptions = targetoptions
end

exports(“AddEntityZone”, AddEntityZone)

^ The " need to be quotes or ’

Some of my other scripts: Oxy/Deliveries 1 | Taco Job 1 | Meth Making 1 | Mechanic Job | BMX Comp Standalone 2 | Fitness, Group Yoga & More 1 | More Interactive Stores | Burgershot | Prison+ 1 | Underwater Salvage Job | Jewelry Store | Chop Shop 2 | The Best Trading Cards Script To Date 1 | Cluckin Bell | Chicken Job | Chicken Fighting 1 | Armored Truck Heist 1 | Baseball (Standalone) | Pizza Delivery | Crypto Currency | Garbage Collector | Used Car Dealership

10 Likes

does this require bt-target or its optional?

3 Likes

Can’t wait to try this out!!! :smiley:

2 Likes

It does require bt-target, but you can make it drawtext quite easily but will trade off performance for it.

are you able to make a version for drawtext? we want to get this script but we dont use bt-target and im not familiar with changing those calls.

2 Likes

Why not use nh-context v2?

1 Like

Yeah, it will be cool if you can add with drawtext, some people are not used to bt-target

1 Like

Most of my scripts all use the old nh-context so I’m familiar with it. For people who want v2, it’s very simple to change (no longer uses ID) and maybe one other change. But for me personally, I use the older version of nh and I havn’t found a reason to change everything yet. Same reason why I use bt-target instead of the more feature rich qtarget. (I’m Lazy).

@SAVRP and @Jaystar84 maybe I’ll make a drawtext version sometime soon.

5 Likes

be cool to see other target systems, used to like BT but had lots of issues.
Ill be awaiting for the draw text! stoked on this looks solid

2 Likes

Does this support Qbcore yet?

1 Like

Not yet but hopefully soon™ I’ve sent it over to someone to convert.

@Beauflexx I understand your frustrations with it. I don’t mess with any other targetting systems myself but like I mentioned, hopefully I’ll have the drawtext up sooner rather than later

2 Likes

for sure will buy once you get a draw text out!

3 Likes

Looks great does it have NPC missions?

1 Like

bt target again… but you know what ? i take it ! and i think we can start to use bt target on the server… nice script !

do u know when it will be converted to qbus

2 Likes

i buy this system… just for waiting the 3d text version :smiley:

1 Like

just use qtarget and go to client and swtich evert bt-target to qtarget. easy

1 Like

hmm ? i dont understand… i say i want a marker version with 3d text… not a bt target update :stuck_out_tongue:

1 Like

this script is obfuscated?

Nope, once you buy you are free to edit everything.

@bulldog2522 Hopefully it will be done today, if you’d like tag you when done.

@RoyKeHD it does not, but my other script EMS Activities does, they work great together.

@Algoma I will likely start work on drawtext version today or tomorrow