Jump to content
  • 0

ALL Maps PVP on turn NIGHT


bkmarcos

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  11/07/13
  • Last Seen:  

Good afternoon,

The server becomes night, set all pvp maps, with the exception of major cities (go)

 

Thanks!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

here is a simple script to change server to pk and off pk during day and night (it checks every 30 mins)

 

id recommend having a script that controls day/night cycle along with pk mode though

-	script	Pk_Night	-1,{
OnMinute01:
OnMinute31:
		if(isnight()){ setbattleflag( "pk_mode",1);
		} else { setbattleflag( "pk_mode",0); }
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  11/07/13
  • Last Seen:  

the script does not contain errors, but does not work

anyway, thanks

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

 

the script does not contain errors, but does not work
anyway, thanks

 

-	script	Pk_Night	-1,{
OnMinute01:
OnMinute31:
		if(isnight()){ setbattleflag( "pk_mode",1);
		} else { setbattleflag( "pk_mode",0); }
	        atcommand "@reloadbattleconf";
}

forgot to reload conf sorry, also if you tell me your day night settings i can make it more fluid

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