wasvendel_health
Injury / health system: body region injury, snake poison, doctor menu, revive limit integration.
Requirements
- VORP (or compatible RedM core)
oxmysql
Installation
- Unzip
wasvendel_health. - Put the
wasvendel_healthfolder into your serverresourcesdirectory. - Import
wasvendel_health_state.sqlinto your database. - Add the resource to
server.cfgafter your framework core.
ensure oxmysql
ensure your_core
ensure wasvendel_healthDatabase
Import the wasvendel_health_state.sql file.
Configuration
Edit:
configs/config.luasv_config.luaconfigs/lang.lua
Commands
| Command | Source | Description |
|---|---|---|
/mystatus |
Config.injuryPanelCommand |
Own injury panel |
/doctor [targetServerId] |
hardcoded | Doctor menu |
Exports
No exports{} in the fxmanifest; runtime exports() calls.
Client (selection)
GetLocalInjuryStatusSnapshot, RequestPlayerInjuryStatus, OpenInjuryPanel, CloseInjuryPanel, PersistNow, GetInjuryPanelData, GetRegionInjury, GetBoneInjury, SetRegionInjury, SetBoneInjury, SetBoneHealth, ResetAllRegionInjury, GetBoneHealthMap, ApplyBoneHealthMap, BeginInjuryGrace, IsInjurySuppressed, IsInjuryCombatReady, DisarmInjuryCombat, ArmInjuryCombat, HealRegionInjury, FullHeal, snake poison API (GetSnakePoison, SetSnakePoison, ClearSnakePoison, …), OpenDoctorMenu, OpenDoctorMenuClosest
Server
| Export | Description |
|---|---|
DoctorHealPlayer(doctorSource, targetServerId) |
Doctor heal |
WasvendelHealthReviveSyncPlayer(targetSid) |
Revive sync |
WasvendelHealthRevivePrecheckTarget(targetSid) |
Revive precheck |
WasvendelHealthReviveConsumeAttempt(targetSid) |
Attempt consume |
WasvendelHealthReviveRefundAttempt(targetSid) |
Attempt refund |