Good morning, I am trying now not to find a forum needing help and I was very well attended. However, I am with a modless error that they have passed me .. The video will explain correctly what is happening, more is basically the following:
I put the area in flagzone, there blocks the healers, but when he returns to city of this bug there.
+{ + _player =(L2PcInstance)character; +finalint[] supporters ={15,16,29,30,42,43,97,105,112,115,136,116};// support classes ID's +for(int act : supporters) +if(_player.getActiveClass()== act) +{ + _player.sendMessage("You can't enter in flag zone with a support class."); + _player.teleToLocation(83417+Rnd.get(101)-50,149028+Rnd.get(101)-50,-3408); +} +}
Thank you guys.
NEWS
Our on-site dashboard is now live! Users can register for a customer account at https://www.nimeracp.com/sign-up.
NimeraCP will become available for purchase once development is complete and it’s listed in the Customer Dashboard.
We’ve also added pricing details to the official post on top and on our website: https://www.nimeracp.com/pricing.
Development on NimeraCP is progressing steadily. I’ll carve out some time this weekend to update the documentation so you can explore NimeraCP’s features in more detail.
Question
nortim
Good morning, I am trying now not to find a forum needing help and I was very well attended. However, I am with a modless error that they have passed me .. The video will explain correctly what is happening, more is basically the following:
I put the area in flagzone, there blocks the healers, but when he returns to city of this bug there.
Can anyone help?
My Codes PvP Area:
<zone type="FlagZone" shape="Cylinder" minZ="-11000" maxZ="-8000" rad="10000"><!-- Pagan Temple Pvp -->
Link Post Block Healers: http://www.maxcheaters.com/topic/213502-block-bs-in-flagzone/
Code:
+if (character instanceof L2PcInstance)
+{
+ _player = (L2PcInstance)character;
+ final int[] supporters = {15,16,29,30,42,43,97,105,112,115,136,116}; // support classes ID's
+ for (int act : supporters)
+ if (_player.getActiveClass() == act)
+ {
+ _player.sendMessage("You can't enter in flag zone with a support class.");
+ _player.teleToLocation(83417 + Rnd.get(101) - 50, 149028 + Rnd.get(101) - 50, -3408);
+ }
+}
Video: https://youtu.be/d3vxJpvZT1g
54 answers to this question
Recommended Posts