Theme editor

QBCORE OSP Ambulance 1.7.4 [ESX/QBCore] (Decrypted)

b0n0b0

Well-known member
Joined
Apr 24, 2023
Messages
50
Reaction score
1
Points
8
Credits
514
Thread owner
b3e2d2f1b2257f69b004821bdfbbd5fb6e72f6e0.webp

OSP Ambulance Job | Advanced Medical System 1.7.4 [ESX/QBCore] (Decrypted)​

Introduction​

Prepare yourself for an immersive and advanced ambulance job experience. This innovative system goes beyond the conventional, offering a heightened level of realism and complexity to your emergency medical roleplay.

In this dynamic environment, you'll find yourself thrust into the heart of critical situations, equipped with state-of-the-art medical tools. This advanced ambulance job/medical system for FiveM is meticulously designed to mirror the intricacies of real-world emergency medicine, offering a challenging and engaging experience for those seeking a more authentic roleplaying adventure. Get ready to navigate through a web of medical procedures, triage scenarios, and intense rescue operations.

Brace yourself for a journey where every decision matters and where the line between life and death is in your hands. Welcome to the future of emergency medical services in FiveM!



Script Preview​

Script Showcase [CLICK HERE]

(Things shown in the video are subject to change)

Note: this script uses FiveM escrow system



Features​

Job Basics​

This script includes all the basic neccesseties of a nomal ambulance job and replaces all the existing ones. Equipped with a standard vehicle garage where you can spawn and remove vehicles each with different access based on the players job grade.

A medical equipment store where the medical staff can purchase medical equipment such as stretchers, ecgs, bandaids and blood, with configurable stocks for each item that resets every server restart.

Onduty system, where the medical staff can clock in and out of work.



Check In​

When no ambulance personel are online, the players are able to "check in" into the hospital, which revives them over a configured time whilst laying in a hospital bed.



Down But Not Out​

In this script, when a player dies they have a configurable amount of time that they can be revived without the use of a revive kit or defib. If nearby players are able to help the downed player and get them in a stable condition in time, the downed player will be revived with reduced health.



ICU Screens​

ECG och ICU Screens are the stationary screen seen in the trailer that are hooked up to the beds inside the hospital. These screens will display the patients Pulse, Blood Pressure, Oxygensaturation and Body Temperature. (**Note:** These monitors are fully configureable to be placed inside any hospital interior)



Terminal Screens​

These larger terminal screens displays information about incoming patients and code blue alarms.

When a ambulance unit have picked up a patient they can relay the patients condition to the hospital staff using the pager item. This information will then display on the terminal screens inside the hospital.



These screens can also display code blue alarms. When a ICU montior reads that a patient is in cardiac distress it will relay a code blue alarms on the terminal screens displaying a blue flashing text with CODE BLUE and the ICU number, a sound alarm will also start to play saying "code blue".



Stretcher​

This ambulance job also comes with a fully equipped stretcher system to efficiently transport patients.

The stretcher system comes with the ability to put in stretcher inside ambulances, helicopters or whatever vehicle you want, just add it to the config. There's also the ablility to fold stretcher into a flat mode, which enables you to also transport patients in bodybags.



Blackout​

When a player has a extremely low or high blood pressure they can trigger a blackout event, which means that their vision will gradually get smaller and smaller due to a increasing black screen effect until they passout. (seen in the showcase)



Pain effect​

When a player has reached a configurable amount of pain, their screens border will start to flash white to simulate extreme pain. (seen in the showcase)



Visual Bleed effect​

When a bodypart has sustained damages that causes bleeding the respective bodypart will have a visual bleed effect to tell the player that they are bleeding without the use of cluttering notifications. When the player has an active bleeding they will also start to lose their health, meaning it's necessary to stop the bleeding as soons as possible.



Other damage related effects​

  • When severe damage sustained to the head, it can cause complete blackouts for a few seconds.
  • When sustained damage to the legs, it can cause the player to start limping aswell cause the player to ragdoll/fall over
  • Reduced walk speed when sustained damage to the legs.


Health Regeneration​

To make players feel like this medical system doesn't become too overbearing, we've tried to compensate that with health regeneration (configurable), to where if a player keeps their character in a stable condition; no injuries, stable blood pressure and pulse, they will slowly regenerate their health.



Portable ECG​

This script also includes a modified version of our previous [ECG](https://forum.cfx.re/t/osp-ecg-advanced-cardiac-monitor/5072411) script, but with added features such as; pulse and bloodpressure reading aswell as a pulse graph based on the pulse and cardiacstate of the patient.



Wheelchair and Crutch​

Wheelchair and crutch system is also integrated into the script, enabling the medical staff to force patients into a wheelchair or crutch for an X amount of time.





Medical Items​

Below are all the new items introduced in this script and respective descriptions of each item.

  • Morphine
Morphine impacts the players pain and pulse and can in turn effect the players blood pressure. This medication is aimed to reduced a players pain level and/or pulse and/or bp.

  • Epinephrine
Epinephrine also known as adrenaline, impacts the players pain and pulse. This medication will cause increased pulse and and a slightly reduced pain level.

  • Blood pack
The blood pack item comes in two variations, 250ml and 500ml. These items, when injected into the player will increase the players blood levels.

  • Saline pack
The saline pack also comes in two variations, 250ml and 500ml. This works essentialy the same way as blood packs with the difference of it giving the player less blood. (This will by default have a larger stock in the medical store)

  • Sewing Kit
The sewing kit prevents packaged wounds from reopening.

  • Bodybag
Put "declared dead" players inside these bodybags for transport to the morgue. These bodybags can be placed on the stretcher when in a folded position. (when a player is put inside a bodybag they are not removable until respawn or relog)

  • Pager
Use this item to relay information to the hospital through the terminal screens.

  • Tourniquet
Tourniquets are able to be placed on all limbs to temporarily stop the bleeding, but this also causes increased pain.

  • Bandages
The following bandages have different efficiency depending on what wounds they are applied on, the efficiency multipliers can be changed in the config.

Field Dressing

Elastic Bandage

Quick Clot

Packing Bandage




Triage​

Patient trigage is the prioritization of individuals in emergency situations based on the severity of their medical conditions. This process helps allocate limited resources efficiently, ensuring that immediate care is provided to those who need it most urgently. For example if there is a lack of blood packs, those in urgent care get prioritization.

Optimization​

  • The script utilizes statebags to keep the performance impact from using events and callbacks as low as possible.
  • This script runs at ~0.01 ms in idle, and ~0.01ms extra for each rendered screen (these screen have configurable render distance meaning the 0.01ms will only be used when within this render distance)


Customization related information​

We've really put an effort into making this script as easily configurable as possible giving you a very extensive config, and two opened lua files (server and client) to setup all the third party resources, framework functions and more.



Target Resources Support​

This script comes with integrated support for qtarget, qb-target and ox_target but if you choose the use either of the previous stated you can also use the standalone setup only utilizing ox_libs text-ui and 3dtext.
 
Back
Top Bottom