FREE & OPEN-SOURCE
Introduction
Are you tired of players losing their health or armor status after a sudden disconnect or due to conflicts with other loading scripts?
dualcore_healthsystemfix is a lightweight, highly optimized solution designed to ensure 100% data persistence for the QB-Core framework.
This resource replaces or complements existing health saving logic by focusing on entity validation and server-side sanitization.
Key Features
-
Robust Persistence: Reliable synchronization of health and armor using native QB-Core SetMetaData.
-
Smart Validation: It checks if the player entity exists during playerDropped to prevent saving accidental 0/null values.
-
Anti-Revive Logic: Prevents other resources from overriding the saved health status during the initial spawn sequence.
-
Optimized Performance: Uses a single 60-second synchronization thread to keep network traffic and CPU usage at a minimum (0.00ms).
-
HUD Ready: Built-in support for the future script dualcore_hud and easy-to-use hooks for any custom HUD.