Thread: Hp Script
View Single Post
  #1  
Old 10-10-2005, 03:30 AM
alissalee alissalee is offline
Mr. Ciprioni Atrius Admin
alissalee's Avatar
Join Date: Dec 2004
Location: Lawrence, Ma
Posts: 190
alissalee is an unknown quantity at this point
Send a message via AIM to alissalee Send a message via MSN to alissalee
Hp Script

Can some one help me make this hp script be the only thing that shows when u log on and get hit.
NPC Code:
if (actionserverside){
this.player = testplayer(strtofloat(#p(0)),strtofloat(#p(1)));
setstring this.account,#a(#v(this.player));
this.return = 1;
}
//#CLIENTSIDE
if (created||timeout) {
this.test = testplayer(mousex,mousey);
timeout=0.5;
}
if (this.hp != -2 && this.hp != -1){
triggeraction 0,0,serverside,-hp,#v(mousex),#v(mousey);
showtext 1,playerx,playery-1,Arial,b,Hp: 12#s(this.account);
changeimgzoom 1,0.7;
}
if (this.return == 2){
message #s(this.account);
this.return = 0;
}

__________________
account was being used by jigga.... sorry for what he has said in the past
Reply With Quote