Jump to content
  • 0
Sign in to follow this  
heroji

when die reset to kill to 0

Question

Hi all, i'm try to make my own script ( i am a newbie ) this is my first time so be gentle with me..

I want to announce when player kills another player and when die reset the kills to 0, i tried to use OnPCDieEvent: but it also count when the other player dies..is there a way to get only when you die?

-	script	A_A	-1,{
end;
OnPCKillEvent:
dispbottom "You got "+ #Kill +" and "+ strcharinfo(0) +" ", 0xf7ae57;
set #Kill, #Kill + 1;
if(#Kill == 3){
announce (""+ strcharinfo(0) +"is on a KILLING SPREE",bc_self | bc_yellow);
}
if(#Kill == 4){
announce (""+ strcharinfo(0) +"is DOMINATING!",bc_self | bc_yellow);

}
if(#Kill == 5){
announce (""+ strcharinfo(0) +"has a MEGA KILL!",bc_self | bc_yellow);

}
if(#Kill == 6){
announce (""+ strcharinfo(0) +"is UNSTOPPABLE!!",bc_self | bc_yellow);

}
if(#Kill <= 7){
announce (""+ strcharinfo(0) +"is WICKED SICK!!!",bc_self | bc_yellow);

}
}


}

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.