22.09.2011, 18:59
If you are trying to set his health above 100.0,
this
is stopping you.
You can delete it or change the 100.0 to whatever you want the player's max health to be.
this
Код:
if(pHealth[n] > 100.0) pHealth[n] = 100.0;
You can delete it or change the 100.0 to whatever you want the player's max health to be.