Jump to content
  • 0

Pvp Room Request


GM Domo

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  06/24/12
  • Last Seen:  

Hey guys , i need help . i wan add more pvp room at this pvp script . i want add more room like guild_Vs3(Doom),guild_vs4(1vs1) and pvp_n_1-1(Sandwich) ...

how to add that 3 maps to this script ??

pvpwarp.txt

Edited by GM Domo
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Maybe like this :

prontera,160,192,5 script PVP Warper 730,{
mes "[ ^0065DFPVP Warper^000000 ]";
mes "Welcome To PVP Warper";
mes "I Can Help You Warp To PVP Room";
mes "This NPC Just For While PVP Room Only";
next;
mes "[ ^0065DFPVP Warper^000000 ]";
mes "You Ready For Warper PVP Room?";
switch(select("PvP Room 1:PvP Room 2:PvP Room 3:PvP Room 4:No")) {
case 1:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end
warp "pvp_y_8-2" ,0,0;
close;
end;
case 2:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end
warp "YOURPVPROOM 2" ,0,0;
close;
end;
case 3:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end
warp "YOURPVPROOM 3" ,0,0;
close;
end;
case 4:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end
warp "YOURPVPROOM 4" ,0,0;
close;
end;
case 5:
close;
}

OnInit:
waitingroom "Pvp Room",0,0;
end;
}
pvp_y_8-2 mapflag nosave
pvp_y_8-2 mapflag nowarp
pvp_y_8-2 mapflag nowarpto
pvp_y_8-2 mapflag noteleport
pvp_y_8-2 mapflag noreturn

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  06/24/12
  • Last Seen:  

Hey guys , i need help . i wan add more pvp room at this pvp script . i want add more room like guild_Vs3(Doom),guild_vs4(1vs1) and pvp_n_1-1(Sandwich) ...

how to add that 3 maps to this script ??

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

then just add extra menu selection at the menu part...and create another case for each map you have added inside the script.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Do it as I said above,you'll just have to edit the Mapnames.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

what's doom, & sandwitch? i don't even understand

just try this one then..

prontera,155,180,5 script PVP Warp 730,{
mes "[ ^0065DFPVP Warper^000000 ]";
mes "Welcome To PVP Warper";
mes "I Can Help You Warp To PVP Room";
mes "This NPC Just For While PVP Room Only";
next;
mes "[ ^0065DFPVP Warper^000000 ]";
mes "You Ready For Warper PVP Room?";
menu
"^008000- ^000000 Izlude ^FF0000["+ (getmapusers("pvp_y_8-2.gat"))+ "]^000000",Q_1,
"^008000- ^000000 Doom ^FF0000["+ (getmapusers("guild_vs3.gat"))+ "]^000000",Q_2,
"^008000- ^000000 1 Vs 1 ^FF0000["+ (getmapusers("guild_vs4.gat"))+ "]^000000",Q_3,
"^008000- ^000000 Sandwitch ^FF0000["+ (getmapusers("pvp_n_1-1.gat"))+ "]^000000",Q_4,
"No",-;


Q_1:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room Izlude, " + zz_point + " Times ",bc_all; //announce and end
warp "pvp_y_8-2" ,0,0;
close;
Q_2:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room Doom, " + zz_point + " Times ",bc_all; //announce and end
warp "guild_vs3" ,0,0;
close;
Q_3:
if (getmapusers("guild_vs4")==2){
mes "Just 2 player can join this room";
close;
}
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room 1 Vs 1, " + zz_point + " Times ",bc_all; //announce and end
warp "guild_vs4" ,0,0;
close;
Q_4:
set zz_point,zz_point+1;
set my_point,zz_point;
announce ""+ strcharinfo(0) +" Has Entered The PVP Room Sandwitch, " + zz_point + " Times ",bc_all; //announce and end
warp "pvp_n_1-1" ,0,0;
close;
OnInit:
waitingroom "Pvp Room",0,0;
end;
}
pvp_y_8-2 mapflag nosave
pvp_y_8-2 mapflag nowarp
pvp_y_8-2 mapflag nowarpto
pvp_y_8-2 mapflag noteleport
pvp_y_8-2 mapflag noreturn

Edited by Chickz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  06/24/12
  • Last Seen:  

doom , n sandwich is pvp room name .. sorry my explanation not clear to u all :)) ok i will try the script :) TQ

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