Quote:
Originally Posted by Claw
Could you maybe show me how to do that, not really the best at scripting ^^
|
First, we need to define a new variable. So, the line under where you are giving player a value, put this
PHP Code:
new health = get_user_health(player);
Then, in each if block that is setting the health, replace the set_user_health with this
PHP Code:
health += 100;
set_user_health(player,health);
Then, just change the 100 to how ever much the user is gaining in that block.
Quote:
|
and would this work fine?
|
Yeah, that should work fine
__________________