Code:public void checkTeleItems(){ int i >= 0; if(c.getItems().playerHasItem(i, i)){ c.sendMessage("You can't have any Items on you when you teleport."); } }
|
Hey Rune-server! How have you all been?
Well im here to ask a small question. I am trying to make a F2P Area, and i want it so when you teleport to a specific set of coords, you can't take any items with you.
May one of you help me create this code? Please and thank you!
I can't go to Mopar, full of abunch of cock smokers.
Code:public void checkTeleItems(){ int i >= 0; if(c.getItems().playerHasItem(i, i)){ c.sendMessage("You can't have any Items on you when you teleport."); } }
Some Rep would be Nice : )
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |