Bump
|
Hey everybody , i been tryna add an empty command with an option , i used this tutorial http://www.rune-server.org/runescape...option-pi.html
When i click empty it wont do anything though
I can take a look over TV if you're desperate for this
Switch command with
Code:if (playerCommand.startsWith("empty")) { c.getItems().removeAllItems(); c.sendMessage("You empty your inventory"); }
did u add a dialogueAction?
Add the clickingbuttons.
That wouldn't give the option though.. I don't want kids emoting by accident
Ugh look at the guide I used , but instead of itemassistant I put it in player assistant so I wouldn't get errors
look at the guide I put that code in clicking buttons
When you click the 'Yes I'd like to empty' dialogue check what dialogue action it sends in the CMD.
Then simply do something like this:
Code:if (c.dialogueAction == ###) { c.getPA().removeAllItems(); } else { return;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |