Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Request # 3
- // VP ROOM the use of pvp_y_room
- // PVP ROOM # 1 - Guild Vs Guild "The room should have a chat room saying that." Use Prontera for this
- // PVP ROOM # 2 - Last Man Standing"The room should have a chat room saying that." Use guild_vs2 for this
- // PVP ROOM # 3 - Baby PVP - Make this ONLY Baby can enter."The room should have a chat room saying that." Use Izlude for this
- // Please use the flags as the NPC for each one
- pvp_y_room,54,85,4 script GVG Room 973,{
- if( getcharid(2) ){
- if( select("Enter GVG","Cancel") == 1 ){
- warp "pvp_y_1-1",0,0;
- npctalk strcharinfo(0)+" has entered.";
- }
- }else{
- mes "You dont have a guild.";
- }
- close;
- OnInit:
- while( 1 ){
- delwaitingroom;
- waitingroom "["+getmapusers("pvp_y_1-1")+"] Guild vs Guild",0;
- sleep 1000;
- }
- end;
- }
- pvp_y_1-1 mapflag PVP OFF
- pvp_y_1-1 mapflag GVG
- pvp_y_room,45,85,4 script PVP Room#1 973,{
- if( select("Enter Last Man Standing","Cancel") == 1 ){
- warp "guild_vs2",0,0;
- npctalk strcharinfo(0)+" has entered.";
- }
- close;
- OnInit:
- while( 1 ){
- delwaitingroom;
- waitingroom "["+getmapusers("guild_vs2")+"] PVP Room",0;
- sleep 1000;
- }
- end;
- }
- guild_vs2 mapflag GVG OFF
- guild_vs2 mapflag PVP
- pvp_y_room,63,85,4 script PVP Room#2 973,{
- if( eaclass() & EAJL_BABY ){
- if( select("Enter Baby PVP","Cancel") == 1 ){
- warp "pvp_y_1-2",0,0;
- npctalk strcharinfo(0)+" has entered.";
- }
- }else{
- mes "You are not baby class";
- }
- close;
- OnInit:
- while( 1 ){
- delwaitingroom;
- waitingroom "["+getmapusers("pvp_y_1-2")+"] Baby Room",0;
- sleep 1000;
- }
- end;
- }
- pvp_y_1-2 mapflag PVP
Advertisement
Add Comment
Please, Sign In to add comment