Quote:
Originally Posted by fl0werD
Float.
|
@off:
WHY GODDAMMIT GET STUCK WITH THINGS LIKE THIS.[/rage]
@On:
Thanks.
I'm doing this on takeDamage:
PHP Code:
new percentage = get_user_health(victim)*100/percentage[victim]
set_pev(victim,pev_health,float(percentage))
And (i think ovbious) sets the health to 99. Can't be done whitout changing the player's health.