Advanced Illness & Treatment System [QBCore] [ESX]

:hospital: Advanced Illness & Treatment System

Illness and Treatment System

Preview: : https://youtu.be/usnwkGGfu_M
Tebex URL : https://enyo.tebex.io/package/7008518
[-30% Off LAUNCH DISCOUNT]

:money_mouth_face: Launch Discount Alert: Enjoy a 30% Discount Applied Automatically! Limited Time Launch Offer! :star_struck:

:exclamation: Works great with ESX and QBCore and any QBCore based frameworks.


:open_book: Overview
Bring your roleplay world to life with an evolving medical system. Characters aren’t just instantly injured or healed — they can develop illnesses that linger, show visible symptoms, and steadily worsen if ignored. Every cough, limp, or fever becomes part of the story, creating tension, urgency, and opportunities for meaningful interactions with doctors and other players.


:medical_symbol:Core Features

:microscope: Dynamic Illness System

  • Players can contract illnesses in different ways:
    • From environmental conditions (rain, snow, heat, smog, cold water).
    • From injuries (gunshots, stabbings, falls, car accidents, melee fights).
    • From random infections (based on server-configurable chance).
    • From contagion (spread to nearby players depending on illness).
  • Visual Symptoms in Real Time: coughing, sneezing, limping, staggering, vomiting, holding stomach, and more.
  • Illnesses are persistent until cured by correct medical treatment.
  • Neglecting symptoms will progressively worsen the condition.

:stethoscope: Interactive Medical Roleplay

  • Doctors are real players, not NPCs.
  • Use advanced medical tools:
    • Pulse Oximeter – check oxygen levels.
    • Thermometer – check body temperature.
    • Blood Pressure Cuff – check blood pressure.
    • MRI Scanner – scan for internal injuries or infections.
  • In-game Medical Guidebook helps doctors study symptoms and prescribe treatments.

:pill: Treatment & Prescriptions

  • Doctors can prescribe specific medicines (pills or injections).
  • Patients must take prescribed medication.
  • Correct treatment fully cures the illness.
  • Wrong medication? The illness worsens, making recovery harder.

:zap: Real Consequences

  • Illnesses worsen if ignored, forcing patients to seek medical care.
  • Wrong prescriptions or neglect lead to health complications.
  • Contagious illnesses spread with every contact.
  • High-stakes gameplay: doctors must diagnose carefully, mistakes can cost lives.

:hospital: Why Choose This Script?
:white_check_mark: Immersive & Unique Roleplay – Adds depth with persistent, visual, and contagious illness mechanics.
:white_check_mark: Progressive Illness System – Sickness doesn’t kill instantly; it worsens until treated.
:white_check_mark: Doctor-Centered Gameplay – Makes EMS/Doctors vital for player survival.
:white_check_mark: Fully Configurable – Illness triggers, symptoms, medicines, payouts, and hospital settings are all editable in Config.
:white_check_mark: Standalone & Optimized – Works with ESX and QBCore.
:white_check_mark: Plug & Play Ready – Simple installation, works out-of-the-box.

Preview: https://youtu.be/usnwkGGfu_M

Tebex URL : https://enyo.tebex.io/package/7008518

Code is accessible No - Partially with editable client and server files
Subscription-based No
Lines (approximately) 4000
Requirements ESX / QBCore or QBCore Based Framework
Support Yes
13 Likes

BRO! Loving this! Love the Use of DUI! As someone who is actually sick rn, this is perfect timing

1 Like

This is sooo gooood :fire: amazing work very innovative :fire: :fire: :fire: :fire: :fire:

2 Likes

Glad you’re loving it! :raised_hands: Perfect timing then :sweat_smile: Hope you feel better soon, and if anything comes to mind that could make it even more fun, I’m always open to ideas! Enjoy :heart:

1 Like

Ill get it and play around and let you know!

1 Like

Wow nice work!

1 Like

:stethoscope: Patch Notes v1.0.1 – Mask & Contagion Update

:rotating_light: New Feature: Mask Protection Mechanics (Contagious Illnesses Only)

  • :mask: Healthy players wearing masks
    • Significantly reduces their chance of catching contagious illnesses.
  • :red_circle: Infected players wearing masks
    • Greatly lowers the chance of spreading contagious illnesses to others nearby, even if they aren’t wearing masks.
1 Like

Good work :clap: :face_with_thermometer:

Also was wondering if you can only place the thermometer in the mouth or other places too ?

1 Like

Thank you for the amazing feedback! :fire: By default the thermometer attaches at the mouth, but you can change its position in the config under Config.ToolAttachments. It’s set up with bone IDs, offsets, and rotation, so if you adjust those values you can place it wherever you’d like :sunglasses:

Amazing :fire:

1 Like

so i got your script one problem all the props or cars or peds spawn on my server for protecting against cheaters can you make the system support server side props insted loading them form client?
im using qb-core by the way but far edited 1

also i have some error:
is set it correct in config why its says esx?

^1SCRIPT ERROR: ?:-1: attempt to index a nil value (field ‘ESX’)^7
^3> shouldHide^7 (^5@ox_target/client/main.lua^7:123)
^3> onPressed^7 (^5@ox_target/client/main.lua^7:219)

1 Like

Awesome script :fire: Loving it!

1 Like

:stethoscope: Patch Notes v1.0.3 – EMS Improvements & Illness Updates

:sparkles: New Features & Improvements

  • :broom: Automatic Illness Cleaning – Configurable time frame for clearing old illnesses.
  • :hospital: Better EMS Equipment – Improved prop positions and easier setup for additional tables.
  • :medical_symbol: Illness Mechanics – More realistic chances to catch illnesses; fully configurable in the config.
  • :dart: Targeting Support – Enhanced ox_target for both ESX and QB frameworks.
  • :red_car: Vehicle-Aware Symptoms – Symptoms can now be configured to play in or out of vehicles; easy to add or adjust in config.

:hammer_and_wrench: Minor Fixes

  • Small improvements to animations, equipment attachments, and overall script stability.
1 Like

Good evening, great script. I want to buy my question. Is there a mechanism for the patient to receive a prescription and buy medications for prescription-based treatment? I don’t know if I can say that, but is there integration with Envi-Prescriptions V3 or something similar?

1 Like

Is this works without target system?

Good evening, @Vinicius! Yes, treatments in this script are handled as items, so they can be integrated into a system like that. You could definitely connect it with something like Envi-Prescriptions or similar for prescription-based treatments. If you need any help setting it up, feel free to reach out!