Need Help: Edit Player's HP

1 post / 0 new
Last seen: 2 years 3 months ago
Joined: 02/02/2014 - 23:39
Gems: 0
Need Help: Edit Player's HP

I think I have the general idea on how to pull this off, but I need some help with execution. What I have:
variable called playerhealth starts as 20 (Player's starting health)
when something needs to edit player's hp, it changes the variable. My question is what code or thing do you need to do to set the player's HP to the variable playerhealth
If you see this, and know the answer, please respond!