View Single Post
  #2  
Old 12-16-2011, 10:18 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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.
__________________
Quote:
Reply With Quote