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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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