[SHARE] PartyZone

l2separator

Vagabond
Make a zone required party with minimum members.

DOWNLOAD EXT

Next you have to add this parameter in zone: <set name = "PartyZone" val = "true" />

For example:
<zone name = "[primeval_peace1]" type = "fun">
<coords loc = "10408 -27395 -4290 -1290" />
<coords loc = "12065 -25334 -4290 -1290" />
<coords loc = " 12223 -23159 -4290 -1290 "/>
<coords loc =" 10424 -22340 -4290 -1290 "/>
<coords loc =" 9566 -23131 -4290 -1290 "/>
<coords loc =" 9290 -24261 -4290 -1290 "/>
</polygon>
</zone>

Make it like this:
<zone name = "[primeval_peace1]" type = "fun">
<set name = "PartyZone" val = "true" />
<coords loc = "10408 -27395 -4290 -1290" />
<coords loc = "12065 -25334 -4290 -1290" />
<coords loc = "12223 -23159 -4290 -1290 "/>
<coords loc =" 10424 -22340 -4290 -1290 "/>
<coords loc =" 9566 -23131 -4290 -1290 "/>
<coords loc =" 9290 -24261 -4290 - 1290 "/>
</polygon>
</zone>

Then go to en string gameserver\data\string and add this line:

one.services.PartyZone=You Are Not Currently In A Party With Minimum 5 Party Members So You Cannot Enter.

And this line to ru string gameserver\data\string:

zone.services.PartyZone=Вы не находитесь в партии с минимум 5 членами партии Так что вы не можете войти.



If you want to change the value of minimum players then you have to change the number 4 in this line:

if (var3.getParty (). getMemberCount () <= 4) {
1586467502250.gif
CODE
 

Attachments

  • 1586466122228.gif
    1586466122228.gif
    43 bytes · Views: 145
  • 1586467502221.gif
    1586467502221.gif
    43 bytes · Views: 121
Last edited:
Back
Top