Thread: Need a specific tele command.

Results 1 to 4 of 4
  1. #1 Need a specific tele command. 
    Registered Member
    Join Date
    Dec 2011
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    20
    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.
    Spoiler for Admins on RS abuse, viral video shows proof!:

    You're welcome.

    http://projectx.vacau.com/forum.php
    Reply With Quote  
     

  2. #2  
    Registered Member Thee Ocean's Avatar
    Join Date
    Aug 2012
    Age
    30
    Posts
    98
    Thanks given
    8
    Thanks received
    9
    Rep Power
    19
    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.");
        }
    }



    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Dec 2011
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    20
    Quote Originally Posted by Thee Ocean View Post
    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.");
        }
    }
    Thank you so much! i will test this once i get onto my other computer. This is why i love Rune-Server.
    Spoiler for Admins on RS abuse, viral video shows proof!:

    You're welcome.

    http://projectx.vacau.com/forum.php
    Reply With Quote  
     

  5. #4  
    Registered Member Thee Ocean's Avatar
    Join Date
    Aug 2012
    Age
    30
    Posts
    98
    Thanks given
    8
    Thanks received
    9
    Rep Power
    19
    Some Rep would be Nice : )



    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. 711 Command to Generate Specific items?
    By Mephobia in forum Help
    Replies: 1
    Last Post: 06-24-2012, 05:05 PM
  2. Need a [pi] tele command please
    By asillybunny in forum Help
    Replies: 2
    Last Post: 11-17-2010, 12:05 AM
  3. [PI] ::tele Command?
    By Regicidal in forum Help
    Replies: 5
    Last Post: 07-02-2010, 08:46 PM
  4. Command for Buying specific items z508
    By AceKingSuited in forum Snippets
    Replies: 3
    Last Post: 07-02-2010, 09:54 AM
  5. ::tele command
    By ZRPS in forum Help
    Replies: 5
    Last Post: 01-28-2010, 04:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •