| A complete and immersive medical system for RedM servers using Vorp Core. Players suffer real injuries, contract diseases, animal effects and face death with a cinematic death screen, hospital respawn, and a full admin toolkit to manage it all. |
|---|
Key Features
-
Injury System: Players receive injuries based on damage taken, severity scales dynamically with hit intensity. Light hits cause minor wounds; heavy impacts can cause severe trauma or instant fractures. Each body part tracks its own injury state, persisted through StateBags.
-
Fracture System: High-velocity impacts trigger bone fractures on the spot, independent of the general injury system. Fractures debuff movement and can only be healed by a medic or via command.
-
Disease System: Multiple diseases with configurable contagion, progression, and cure items. Each disease applies unique client-side effects. Infection and cure are fully scriptable via exports.
-
Animal Damage Effects: Attacks from animals apply specific effects, poison, bleeding, and trauma, each with their own timers and visual feedback.
-
Custom Death Screen: A cinematic overlay replaces VORP’s default death handler. A countdown timer runs after death; once it expires, the player holds E to respawn at the nearest configured hospital.
-
Hospital Respawn: Define as many hospital locations as you want in config. On respawn, the player fades out, teleports to the nearest hospital, is fully healed, and receives spawn immunity.
-
Death Camera: Optional top-down cinematic camera follows the fallen player while they wait on the death screen.
-
Admin Commands: Configurable command names for all admin actions.
/killforces a target player to die instantly./revivefully resurrects a target./diagnosedisplays the full medical status of nearby players. All commands check ACE permissions. -
Modular Notification System: Plug in your preferred notification resource —
ox_lib,ley_notify, orredemrp_progressbars— with a single config line. No code changes needed. -
Spawn Immunity: Configurable immunity window after respawn prevents immediate re-injury.
-
Full Export API: Expose your medical system to other resources , heal injuries, heal fractures, infect or cure diseases, check player health status, and more, all via clean server-side exports.
-
Multi-Language Ready: English and Spanish locales included. All UI text and notifications are locale-driven.
Requirements
-
Framework:
vorp_core -
Database:
oxmysql -
Library:
ox_lib -
Inventory:
vorp_inventory -
Optional:
redemrp_progressbars
Installation
-
Download and place the
yami_medicalfolder in your resources directory. -
Add
ensure yami_medicalto yourserver.cfg. -
Set
UseDeathHandler = falseinvorp_core/config/config.lua. -
Configure hospitals, commands, and feature flags in config.lua.
Configuration
Notification Provider: Choose between ox, ley, or redemrp with a single setting.
Death Screen: Toggle on/off, set the respawn countdown timer, enable/disable the death camera, and define as many hospital spawn points as you need.
Commands: Rename every admin and player command to match your server’s language or conventions.
Damage Sensitivity: Tune the minimum damage threshold, injury probability per severity tier, and fracture chance independently.
Spawn Immunity: Set exactly how long players are immune from injury after respawning.
Admin Permission: Configure which ACE permission node gates the admin commands.
Exports: Integrate the medical system into your own scripts using the documented server-side export API.
| Code is accessible | partial | |
| Subscription-based | No | |
| Lines (approximately) | 3000 | |
| Requirements | ox_lib | |
| Support | Yes |


