# HP level

**URL:** <https://forum.kirupa.com/t/hp-level/256754>\
**Category:** flash\
**Created:** [April 6, 2008, 11:08pm UTC](https://forum.kirupa.com/t/hp-level/256754 "2008-04-06T23:08:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![protonxp](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/protonxp/32/3110_2.png) [@protonxp](https://forum.kirupa.com/u/protonxp)\
**Post date:** [April 6, 2008, 11:08pm UTC](https://forum.kirupa.com/t/hp-level/256754/1 "2008-04-06T23:08:41Z")

</div>

Hi,

I was making a game. And was coding the HP of my player.

```auto
hpDmg = 0
hpLevel = hpMax - hpDmg
hpMax = 50

```

it doesn’t work.

Proto :hugegrin:
