add this
Code:if (c.duelStatus >= 5){ c.sendMessage("You can not use this in duel"); } else
|
Hey Everyone,
There are command on my server that spawn your runes etc and I would like to disable those commands at duel arena.
For example I would like to disable the following command and have a send message that says "You cannot use this command while at the Duel Arena"
Thanks!Code:if (playerCommand.equalsIgnoreCase("veng")) { c.getItems().addItem(9075, 2000000); c.getItems().addItem(557, 2000000); c.getItems().addItem(560, 2000000); }
add this
Code:if (c.duelStatus >= 5){ c.sendMessage("You can not use this in duel"); } else
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |