Sign in to follow this  

How to stop playing losing hp when running for too long

Recommended Posts

Try putting it in \server-files\client_packages\roleplay > events.js and it did not work. I'm in the right place where you have to put it?

Share this post

Link to post
Share on other sites
On 12/12/2018 at 8:33 PM, Jaimuzu said:

This occurs due to player stamina hitting zero, resulting in hp being lost. Below is the workaround for this in both C# and JavaScript.


//Subscribe the Tick event
Events.Tick += Tick;

public void Tick(List<Events.TickNametagData> nametags)

JavaScript'render', () => {;



Hey man can you tell me how to install this on C#? 


Also, do I install this clientside or serverside?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.