A Project for Chronicle 4 based on L2JServer.


    against flames in pvp (cannot talk while u`r dead)

    Share
    avatar
    jamaica

    Posts : 135
    Join date : 2013-02-24
    Age : 28
    Location : Romania

    against flames in pvp (cannot talk while u`r dead)

    Post  jamaica on 18th September 2013, 12:38

    Index: java/net/sf/l2j/gameserver/clientpackets/Say2.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/clientpackets/Say2.java (revision 3721)
    +++ java/net/sf/l2j/gameserver/clientpackets/Say2.java (working copy)
    @@ -128,7 +128,15 @@
    {
    activeChar.sendMessage("You may not chat while a chat ban is in effect.");
    return;
    - }
    + }
    + if (activeChar.isDead())
    + {
    + activeChar.sendMessage("You cant talk while you are dead");
    + return;
    + }
    +
    +
    +
    }

    if (activeChar.isInJail() && Config.JAIL_DISABLE_CHAT)

      Current date/time is 24th September 2017, 09:45