Jump to content
  • 0
Sign in to follow this  
minx123

help me fix this pvp map script

Question

dicastes01,191,194,4	script	PvP Warper#01::pvpwarper	483,{	cutin "3rd_sura_master",2;	set .@mapcount_0,getmapusers("guild_vs2");	set .@mapcount_1,getmapusers("guild_vs3");	mes "[PvP Warper]";	mes "Are you ready to Fight?";	mes "Please select your zone.";	while(1) {		switch(select("PVP party [ "+.@mapcount_0+" / 50 ]:PVP no party [ "+.@mapcount_3+" / 50 ]" )) {		case 1:			set .@mapname$,PvP1;			if (.@mapcount_0 < 50) {			announce ""+strcharinfo(0)+" Has Entered the PVP Room ",bc_map,0x9900FF;			}			callsub S_CheckPVPRoom,@mapcount_0,"guild_vs2";			close;		case 2:			set.@mapname$,PvP2;			if (.@mapcount_2 < 50) {			announce ""+strcharinfo(0)+" Has Entered The PvP2 ",bc_map,0x9900FF;			}			callsub S_CheckPVPRoom,@mapcount_3,"guild_vs3";			close;		}	}OnWhisperGlobal: if (getgmlevel() > 79) {goto OnInit;}OnInit:waitingroom "PVP Room",0;initnpctimer;end;OnTimer5000:delwaitingroom;set .@mapcount_0,getmapusers("guild_vs2");waitingroom "PVP Room [ "+.@mapcount_0+" / 50 ]",0;end;OnTimer20000:delwaitingroom;set .@mapcount_3,getmapusers("guild_vs3");waitingroom "GvG Room [ "+.@mapcount_2+" / 50 ]",0;end;OnTimer25000:delwaitingroom;waitingroom "PVP Room",0;initnpctimer;end;S_CheckPVPRoom:	if (getarg(0) >= 50) {		mes "[PvP Warper]";		mes "This map is currently full.";		mes "Please try again later. Or try another Room .";		next;		return;	}	else {		warp getarg(1),0,0; 		end;	}}pvp_y_1-2	mapflag	nowarppvp_y_1-2	mapflag	nowarptopvp_y_1-2	mapflag	nomemopvp_y_1-2	mapflag	noteleportpvp_y_1-2	mapflag	nosavepvp_y_1-2	mapflag	noreturnpvp_y_1-4	mapflag	nowarppvp_y_1-4	mapflag	nowarptopvp_y_1-4	mapflag	nomemopvp_y_1-4	mapflag	noteleportpvp_y_1-4	mapflag	nosavepvp_y_1-4	mapflag	noreturnpvp_y_1-4	mapflag	pvpguild_vs1-1	mapflag	nowarpguild_vs1-1	mapflag	nowarptoguild_vs1-1	mapflag	nomemoguild_vs1-1	mapflag	noteleportguild_vs1-1	mapflag	nosaveguild_vs1-1	mapflag	noreturnguild_vs1-1	mapflag	gvgguild_vs3	mapflag	nowarpguild_vs3	mapflag	nowarptoguild_vs3	mapflag	nomemoguild_vs3	mapflag	noteleportguild_vs3	mapflag	nosaveguild_vs3	mapflag	noreturnguild_vs2	mapflag	nowarpguild_vs2	mapflag	nowarptoguild_vs2	mapflag	nomemoguild_vs2	mapflag	noteleportguild_vs2	mapflag	nosaveguild_vs2	mapflag	noreturnguild_vs2	mapflag	pvp// ----------- Duplicate -------------xmas,138,110,4	duplicate(pvpwarper)	PvP Warper#02	733// ----------- Duplicate -------------louyang,243,99,4	duplicate(pvpwarper)	PvP Warper#03	733 

 

 i want make 1 room only and can devo. how to fix this?

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.