Thread: onPlayerKilled
View Single Post
  #6  
Old 05-28-2010, 10:01 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by xAndrewx View Post
I have not, I made up a clientside detection though

HTML Code:
function onPlayerHurt() {  
  if (player.hearts <= 0) {
    this.doDeath();
  }
}
Maybe that'll help for now? :s
I was using it to check who killed whom but I can't seem to get it to work on testbed. Luca said it works on UN so I'm guessing that it is just a matter of updating testbeds gserver. I felt like I had the IQ of a dead squirrel for about 2 days because I couldn't figure it out.
Reply With Quote