
12-16-2011, 10:18 PM
|
|
team canada
|
 |
Join Date: Jul 2004
Location: Canada
Posts: 5,200
|
|
|
Off-Topic... You can simplify you damage line to just:
clientr.player_hp = max(clientr.player_hp - damage, 0);
Just echo the clientr.player_hp value before and after to check if it's working instead of using RC. |
|
|
|