Jaimuzu 189 Posted December 12, 2018 (edited) This occurs due to player stamina hitting zero, resulting in hp being lost. Below is the workaround for this in both C# and JavaScript. C# //Subscribe the Tick event Events.Tick += Tick; public void Tick(List<Events.TickNametagData> nametags) { RAGE.Game.Player.RestorePlayerStamina(1.0F); } JavaScript mp.events.add('render', () => { mp.game.player.restoreStamina(100); }); Edited December 12, 2018 by Jaimuzu added event subscription 3 1 1 Share this post Link to post Share on other sites
ragempdev 797 Posted December 12, 2018 ohhhh ty! got my stamina 💪 restored 😎 😏 3 Share this post Link to post Share on other sites
Jaimuzu 189 Posted December 12, 2018 1 minute ago, ragempdev said: ohhhh ty! got my stamina 💪 restored 😎 😏 epic )))))) may you run far and fast for eternity 1 Share this post Link to post Share on other sites
amahone 2 Posted December 12, 2018 Usefull, thx I added statement if(mp.players.local.isSprinting()) { mp.game.player.restoreStamina(100); } 2 Share this post Link to post Share on other sites
Jaimuzu 189 Posted December 12, 2018 1 minute ago, amahone said: Usefull, thx I added statement if(mp.players.local.isSprinting()) { mp.game.player.restoreStamina(100); } epic. glad you like men))))💙💙💙💙💙 3 Share this post Link to post Share on other sites
trolovecro 3 Posted December 13, 2018 Didnt even know about that lol. Thanks! 1 Share this post Link to post Share on other sites
Jaimuzu 189 Posted December 14, 2018 8 hours ago, trolovecro said: Didnt even know about that lol. Thanks! 😀😀😀😀😀😀😀😀😀😀😀 youre welcome on ragemp 2 Share this post Link to post Share on other sites
SirJeffQuin 1 Posted April 7 can someone explain how to add that one? Share this post Link to post Share on other sites
Outernet Roleplay 1 Posted April 24 On 4/7/2019 at 8:35 AM, SirJeffQuin said: can someone explain how to add that one? You'll need to place it in a clientside file. 1 Share this post Link to post Share on other sites
SirJeffQuin 1 Posted April 25 vor 18 Stunden schrieb Outernet Roleplay: You'll need to place it in a clientside file. ya had that twice already and did not worked but found myself why and solved it, thanks for the respone o/ Share this post Link to post Share on other sites