Jump to content
  • 0

Deathmatch script


Rayan

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

can somebody give me that please?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   1
  • Joined:  07/10/12
  • Last Seen:  

// ============================================================= //
// = - [АвтоЭвент] 'Death Match'							- =  //
// ------------------------------------------------------------- //
// = - Скрипт написал Agasper (ICQ:6498906)				 - =  //
// ------------------------------------------------------------- //
// = - Описание: PvP эвент.								 - =  //
// ------------------------------------------------------------- //
// = - Если Вы хотите разместить где-либо этот скрипт,то не - =  //
// = - забывайте указывать копирайты,уважайте чужой труд.   - =  //
// ============================================================= //

-	   script  event_start	 -1,{
OnMinute00:
announce "Death Match Event starts in a few minutes!",0;
sleep 5000;
announce "Register at the NPC 'Death Match'. You have 2 minutes to sign up!",0;
pvpoff "guild_vs2";
enablenpc "Death Match";
donpcevent "agasper_dm::OnDM";
end;
}
prontera,150,170,5	  script  Death Match	 811,{
mes "[ Death Match ]";
mes "Hi, "+strcharinfo(0)+"!";
mes "Cost of registration: ^ff0000"+$reg_price+"^000000 Zeny!";
if(select("I agree:Exit")==2){ close; }
if(BaseClass==Job_Novice){ next; mes "[ Death Match ]";  mes "Beginners can not participate in the event!"; close; }
if(Zeny<$reg_price){ next; mes "[ Death Match ]";  mes "Where's the money?"; close; }
set Zeny,Zeny-$reg_price;
set $players,$players+1;
warp "guild_vs2",50,50;
close;
OnInit:
set $reg_price,500000;
set $players,0;
disablenpc "Death Match";
end;
}
-	   script  agasper_dm	  -1,{
OnDM:
sleep 120000;
disablenpc "Death Match";
if(getmapusers("guild_vs2")<2){ announce "In the Event gathered less than 2-man! Event is canceled!",0; set $players,0; mapwarp "guild_vs2","prontera",150,170; end; }
announce "Event 'Death Match' is start!",0;
pvpon "guild_vs2";
initnpctimer;
end;
OnTimer5000:
if(getmapusers("guild_vs2")==0){ announce "Event 'Death Match' end as the players in the event is not!",0; stopnpctimer; set $players,0; end; }
if(getmapusers("guild_vs2")>1){ mapannounce "guild_vs2",getmapusers("guild_vs2")+" Player (s) are still in the event!",0; initnpctimer; end; }
if(getmapusers("guild_vs2")<2){ goto OnWin; end; }
end;
OnPCKillEvent:
OnWin:
getmapxy .@emap$,.@ex,.@ey,0;
if(.@emap$=="guild_vs2" && getmapusers("guild_vs2")<2){
stopnpctimer;
announce "Player "+strcharinfo(0)+" won the event 'Death Match' and get "+$reg_price*$players+" Zeny!",0;
set Zeny,Zeny+$reg_price*$players;
message strcharinfo(0),"You get "+$reg_price*$players+" Zeny!";
warp "SavePoint",0,0;
set $players,0;
}
end;
OnPCDieEvent:
getmapxy .@emap$,.@ex,.@ey,0;
if(.@emap$=="guild_vs2"){ warp "SavePoint",0,0; atcommand "@alive"+strcharinfo(0); dispbottom "[Death Match]: You lose =("; }
end;
}
guild_vs2	   mapflag noteleport
guild_vs2	   mapflag nowarp
guild_vs2	   mapflag nowarpto
guild_vs2	   mapflag nobranch
guild_vs2	   mapflag noicewall
guild_vs2	   mapflag pvp_noguild
guild_vs2	   mapflag pvp_noparty
guild_vs2	   mapflag nomemo
guild_vs2	   mapflag nodrop

Here's this?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

thnx bro , but i was asking which i could use in normal pvp map

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
Answer this question...

×   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...