View Single Post
  #4  
Old 07-06-2010, 09:27 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by xAndrewx View Post
Found a fix

HTML Code:
function onPlayerHurt(hit) {  
  client.p_hits += 0.5;
  if (int(client.p_hits) = client.p_hits) {
    player.hearts += 0.5;
    
    if (client.p_hits > 50) client.p_hits = 0;
  }
}
Ha!
That's more like a hackish workaround. Which could go wrong. Horribly wrong.
Reply With Quote