Jump to content

Alvins182

Members
  • Posts

    122
  • Joined

  • Last visited

Posts posted by Alvins182

  1. Here try this.

    - script DotaPvP -1,{
    OnPCKillEvent:
    set $@PlayerKiller$,strcharinfo(0);
    set PlayersKilled,PlayersKilled + 1;
    set @PlayersKilledStreak,@PlayersKilledStreak + 1;
    message strcharinfo(0),"You have a Killing Spree of "+ @PlayersKilledStreak;
    message strcharinfo(0),"You killed a total amount of "+ PlayersKilled +" people.";
    message strcharinfo(0),"The last person you killed was: "+ rid2name(killedrid);
    getmapxy $@map$,.@x,.@y,0;
    if (!attachrid(killedrid)) end;
    set $@PlayerKilled$,strcharinfo(0);
    if (@PlayersKilledStreak >= 80) callsub L_endStreak,"Beyond Godlike";
    if (@PlayersKilledStreak >= 70) callsub L_endStreak,"Godlike";
    if (@PlayersKilledStreak >= 60) callsub L_endStreak,"Monster Kill";
    if (@PlayersKilledStreak >= 50) callsub L_endStreak,"Wicked Sick";
    if (@PlayersKilledStreak >= 40) callsub L_endStreak,"Unstoppable";
    if (@PlayersKilledStreak >= 30) callsub L_endStreak,"Mega-kill";
    if (@PlayersKilledStreak >= 20) callsub L_endStreak,"Dominating";
    if (@PlayersKilledStreak >= 10) callsub L_endStreak,"Killing Spree";
    else goto L_endStreak2;
    L_endStreak:
    announce $@PlayerKiller$ +" has ended "+ $@PlayerKilled$ +"'s "+ getarg(0) +" streak at "+ $@map$,0;
    L_endStreak2:
    message strcharinfo(0),"You have been killed by "+ $@PlayerKiller$;

×
×
  • Create New...