evendmodrace

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
returNix
Posts: 76
Joined: Thu Oct 07, 2010 9:03 pm

Re: evendmodrace

Post by returNix »

LasTravel wrote:Use this:

Code: Select all

INSERT IGNORE INTO `admin_command_access_rights` VALUES('admin_event_menu','1'),('admin_event_start','1'),('admin_event_stop','1'),('admin_event_start_menu','1'),('admin_event_stop_menu','1'),('admin_event_bypass','1');
PD: Gnat have *Fast Skill Posting lvl 5* ¬¬
Thanks , helped me too :)
User avatar
jorgeromero
Posts: 65
Joined: Thu Sep 03, 2009 4:33 pm
Location: France

Re: evendmodrace

Post by jorgeromero »

I'm having a little problem here. My AIO Item that can be used during the event. Can someone help me how to block use of AIOITEM (By BigBoss) during this event? I added this restriction during the TVT, but I'm not getting that event.

Can anyone help me?


Restrictions in my events:

Code: Select all

+   public boolean checkPlayerConditions(L2PcInstance player)+   {+       if(player.getPvpFlag() > 0)+       {+           player.sendMessage("Cannot use AIOItem while flagged!");+           return false;+       }+       if(player.getKarma() > 0 || player.isCursedWeaponEquipped())+       {+           player.sendMessage("Cannot use AIOItem while chaotic!");+           return false;+       }+       if(player.isInOlympiadMode() || TvTEvent.isPlayerParticipant(player.getObjectId()))+       {+           player.sendMessage("Cannot use while in events!");+           return false;+       } 
Post Reply