• 0
Sign in to follow this  
Subzero

help me add pvp solo only enable 8pm-9pm

Question

Posted (edited)

can anyone help me put another 1 pvp solo but player only can entered 8pm-9pm map using pvp_y_1-2

here my current script

and its is possible make npc count on 2 map?

waitingroom "PVP : "+getmapusers("pvp_y_6-2")+" Users",0; i want add another 1 pvp solo pvp_y_1-2
 

https://pastebin.com/VhpLjKTC

Edited by Subzero

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Posted (edited)
Quote

can anyone help me put another 1 pvp solo but player only can entered 8pm-9pm map using pvp_y_1-2


you can try this 

 

-	script	8to9pm	-1,{

OnClock2000:
set [email protected],1;
end;

OnClock2100:       
set [email protected],0;
end;
}

prontera,150,150,4	script	Player vs Player	871,{
mes "[PvP Warper]";
mes "Which arena do you want to go to?";
switch(select("PVP SOLO["+getmapusers("pvp_y_1-2")+"]")){
	case 1:
	if([email protected]) {
	if( getmapusers( "pvp_y_1-2" ) > 1) goto L_Full;
		next;
		warp "pvp_y_1-2",0,0;
		end;
		}else{
		next;
		mes"8PM TO 9PM ONLY";
		end;
		}

L_Full:
	mes "Room Full, Please wait";
	end;
		}
		}

 

Edited by MukkiesftKies

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this