Jump to content

Dotapvp without wav


Recommended Posts


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

meon ba gumaganang script para sa dota pvp n d na need ng wav?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

wala sir

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  122
  • Reputation:   2
  • Joined:  11/20/11
  • Last Seen:  

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$;

Edited by Alvins182
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

not working

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  122
  • Reputation:   2
  • Joined:  11/20/11
  • Last Seen:  

not working

have you add the tab? im still using it and its work.

-<tab>script<tab>DotaPvP<tab>-1,{

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

thanks :) problem solve

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

error..

missing 1 right curlys at line 25.

- 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$;

Edited by Hatake Kakashi
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  135
  • Reputation:   5
  • Joined:  06/25/12
  • Last Seen:  

You are missing a "}" at the end.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

there's no error but its not working.

its now working.

how to put a sound?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  122
  • Reputation:   2
  • Joined:  11/20/11
  • Last Seen:  

Try This script. with sound.

- script DOTAPVP -1,{
OnPCKillEvent:
set @PlayersKilledStreak,@PlayersKilledStreak + 1;
set PlayersKilled,PlayersKilled + 1;
getmapxy .map$,.@x,.@y,0;
if (!attachrid(killedrid)) end;
 message strcharinfo(0),"You have been killed by "+ rid2name(killerrid);
 if (@PlayersKilledStreak >= 10) callsub L_endStreak,"Beyond Godlike";
 if (@PlayersKilledStreak >= 9) callsub L_endStreak,"Godlike";
 if (@PlayersKilledStreak >= 8) callsub L_endStreak,"Monster Kill";
 if (@PlayersKilledStreak >= 7) callsub L_endStreak,"Wicked Sick";
 if (@PlayersKilledStreak >= 6) callsub L_endStreak,"Unstoppable";
 if (@PlayersKilledStreak >= 5) callsub L_endStreak,"Mega-kill";
 if (@PlayersKilledStreak >= 4) callsub L_endStreak,"Dominating";
 if (@PlayersKilledStreak >= 3) callsub L_endStreak,"Killing Spree";
 else goto L_endStreak2;
L_endStreak:
announce rid2name(killerrid) +" has ended "+ strcharinfo(0) +"'s "+ getarg(0) +" streak at "+ .map$,0;
L_endStreak2:
set @PlayersKilledStreak,0;
if (!attachrid(killerrid)) end;
 if (@PlayersKilledStreak == 3) callsub L_Streak,"killingspree.wav","on a KILLING SPREE","";
 if (@PlayersKilledStreak == 4) callsub L_Streak,"dominating.wav","DOMINATING!","";
 if (@PlayersKilledStreak == 5) callsub L_Streak,"megakill.wav","on a MEGA Spree!","";
 if (@PlayersKilledStreak == 6) callsub L_Streak,"unstoppable.wav","UNSTOPPABLE!","";
 if (@PlayersKilledStreak == 7) callsub L_Streak,"wickedsick.wav","WICKED SICK!","";
 if (@PlayersKilledStreak == 8) callsub L_Streak,"monsterkill.wav","on a MONSTER Spree!","";
 if (@PlayersKilledStreak == 9) callsub L_Streak,"godlike.wav","GODLIKE!",". Will someone ever stop him/her?";
 if (@PlayersKilledStreak >= 10 && !(@PlayersKilledStreak % 2)) callsub L_Streak,"holyshit.wav","BEYOND GODLIKE!",". Someone kill him/her!";
goto OnWhisperGlobal;
L_Streak:
announce strcharinfo(0) +" is "+ getarg(1) +" with "+ @PlayersKilledStreak +" kills at "+ .map$ + getarg(2),0;
soundeffectall getarg(0),0,.map$;
return;
OnWhisperGlobal:
dispbottom "Your current Streak : "+ @PlayersKilledStreak;
dispbottom "Your total Kills		  : "+ PlayersKilled;
end;
}

Edited by Alvins182
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  07/24/12
  • Last Seen:  

how about in specific map like pvp_n_1-3

thanks. ^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  104
  • Reputation:   1
  • Joined:  05/04/12
  • Last Seen:  

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$;

Thanks!! /thx

How can i trigger this script in specific maps not all maps??

Edited by SkyPirate
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/29/12
  • Last Seen:  

where should i put this?

Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  06/06/12
  • Last Seen:  

not working T_T

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...