Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script PandaEvent -1,{
- end;
- OnInit:
- bindatcmd("startmatch",strnpcinfo(0)+"::OnMatchStart");
- bindatcmd("endmatch",strnpcinfo(0)+"::OnMatchEnd");
- bindatcmd("east",strnpcinfo(0)+"::OnWarpEast");
- bindatcmd("west",strnpcinfo(0)+"::OnWarpWest");
- bindatcmd("north",strnpcinfo(0)+"::OnWarpNorth");
- bindatcmd("south",strnpcinfo(0)+"::OnWarpSouth");
- setcell "guild_vs2",46,12,53,12,cell_walkable,0;
- setcell "guild_vs2",12,53,12,46,cell_walkable,0;
- setcell "guild_vs2",53,87,46,87,cell_walkable,0;
- setcell "guild_vs2",87,53,87,46,cell_walkable,0;
- end;
- OnWarpWest:
- if(getgmlevel() < 5) { end; }
- warp "guild_vs2",7,50;
- end;
- OnWarpEast:
- if(getgmlevel() < 5) { end; }
- warp "guild_vs2",91,49;
- end;
- OnWarpNorth:
- if(getgmlevel() < 5) { end; }
- warp "guild_vs2",49,91;
- end;
- OnWarpSouth:
- if(getgmlevel() < 5) { end; }
- warp "guild_vs2",50,7;
- end;
- OnMatchStart:
- if(getgmlevel() < 5) { end; }
- disablenpc "Party Recall";
- disablenpc "Party Recall#1";
- disablenpc "Party Recall#2";
- disablenpc "Party Recall#3";
- initnpctimer;
- announce "-- Match will begin in 30 Seconds --",0,0xFFA500;
- end;
- OnMatchEnd:
- if(getgmlevel() < 5) { end; }
- stopnpctimer;
- enablenpc "Party Recall";
- enablenpc "Party Recall#1";
- enablenpc "Party Recall#2";
- enablenpc "Party Recall#3";
- setcell "guild_vs2",46,12,53,12,cell_walkable,0;
- setcell "guild_vs2",12,53,12,46,cell_walkable,0;
- setcell "guild_vs2",53,87,46,87,cell_walkable,0;
- setcell "guild_vs2",87,53,87,46,cell_walkable,0;
- announce "-- Match has ended --",0,0xFFA500;
- end;
- OnTimer30000:
- announce "-- Match has begun! --",0,0xFFA500;
- stopnpctimer;
- setcell "guild_vs2",46,12,53,12,cell_walkable,1;
- setcell "guild_vs2",12,53,12,46,cell_walkable,1;
- setcell "guild_vs2",53,87,46,87,cell_walkable,1;
- setcell "guild_vs2",87,53,87,46,cell_walkable,1;
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement