# Game help

**URL:** <https://forum.kirupa.com/t/game-help/181473>\
**Category:** Uncategorized\
**Created:** [March 9, 2006, 5:30pm UTC](https://forum.kirupa.com/t/game-help/181473 "2006-03-09T17:30:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badmonur](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@badmonur](https://forum.kirupa.com/u/badmonur)\
**Post date:** [March 9, 2006, 5:30pm UTC](https://forum.kirupa.com/t/game-help/181473/1 "2006-03-09T17:30:38Z")

</div>

i need some help with this, if i have a global variable that is the HP of the player and level only allows a certian amount of HP per level, like say 400HP= level 1 or 500HP= level2. If the player picks up a healing or something like that how can i make it so that it rembers the players HP for the level that the player is on and dosent go over it to fulfil the HP.
