I'm going to make a snippet on this check there in a second
|
I need help making either an npc that gives a free chaotic once or a command that spawns one of the chaotics and you can only use it once all help is much appreciated
I'm going to make a snippet on this check there in a second
in commands.java
Code:if(c.playerCommand.equalsIgnoreCase("chaotics") && c.playerRights >= 0) { //Incase you put it in the wrong place. c.getItems().addItem(18349, 1); c.getItems().addItem(18351, 1); c.getItems().addItem(18353, 1); c.getItems().addItem(18355, 1); c.getItems().addItem(18357, 1); c.sendMessage("Free chaotics."); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |