π₯ KCD Doctor NPC Script
Give your players access to a configurable doctor NPC when no real EMS are available.
The KCD Doctor NPC Script automatically checks whether ambulance players are online. If EMS are on duty, all doctor NPCs are disabled, encouraging players to interact with real medics. If no ambulance staff are available, the NPCs become accessible again, providing a seamless gameplay experience.
Designed to be lightweight, beginner-friendly, and easy to configure.
β Features
- π₯ Multiple Doctor NPC locations
- βοΈ Easy configuration through
config.lua - β€οΈ Heal injured players
- π Revive unconscious players
- π° Configurable heal and revive prices
- β±οΈ Individual cooldowns to prevent abuse
- π¨ββοΈ Automatic ambulance job detection
- π NPCs automatically enable/disable depending on EMS availability
- π― Shared interaction menu for every NPC
- π§© ESX compatible
- π ox_lib support
- π― Optional ox_target support
- π Escrow ready (configuration remains editable)
- β‘ Optimized and lightweight
- π Completely free
βοΈ Configuration
You can easily configure:
- Doctor NPC locations
- NPC model
- Interaction distance
- Heal and revive prices
- Cooldown duration
- Required number of ambulance players
- Payment account (Cash or Bank)
- Blips
- Notifications
π¦ Dependencies
- ESX Legacy
- ox_lib
Optional
- ox_target
- esx_ambulancejob
π₯ Installation & Showcase
A complete installation tutorial and showcase is available on YouTube.
π¬ Support
If you have questions, suggestions, or encounter any issues, feel free to join the community Discord.
Thank you for supporting KevCodeDesign! π