Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

draobrehtom/rsg-health-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

(arhived)- fixed by pr here and here

RSG Health Sync

This script fixes an issue where using /loadskin (from rsg-appearance) resets the player's health to 100. It also ensures health is properly restored when a player rejoins the server.

What It Fixes

  • Health resetting to 100 after using /loadskin
  • Health not being saved or restored correctly after disconnecting and reconnecting

How It Works

  • Monitors the player's health every second
  • Updates health in LocalPlayer.state and sends it to the server via metadata
  • Restores correct health on login using saved metadata

It's a temporary solution and should be removed when issue will be fixed RSG codebase. More details in Discord discussion thread here.

About

Fixing health sync issue in RSG Framework (RedM)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages