Clickingbuttons to the button id of your spell right under the case add something like this
Code:if (!c.getItems().playerHasItem(995, 1)) { c.sendMessage("You need 1 coin to teleport to this location."); return; }
|
How do I add a rank requirement to teleports inside of my spells tab (magic book)..? yes i did search for this nothing was relevant or even close,
Clickingbuttons to the button id of your spell right under the case add something like this
Code:if (!c.getItems().playerHasItem(995, 1)) { c.sendMessage("You need 1 coin to teleport to this location."); return; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |