View Single Post
  #1  
Old 11-29-2009, 07:21 AM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
Exclamation on death warp not working

NPC Code:
if(actionprojectile){
newhp = strtofloat(#s(clientr.hp)) - client.attackpower;
if (newhp<=0) {
newhp = 100;
setani dead,;
dead;
} else {
setani hurt,;
clientr.hp =-20;
}
setstring clientr.hp,#v(newhp);
}{
function dead() {
setlevel2 onlinestartlocal.nw,21,55;
}
}


why wont it warp them?
Reply With Quote