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?
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?
Code:
- 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);
}
}
}