Thread: staff zone teleport

Results 1 to 5 of 5
  1. #1 staff zone teleport 
    Registered Member
    Join Date
    Jul 2009
    Posts
    172
    Thanks given
    0
    Thanks received
    0
    Rep Power
    41
    can someone please help me with making the trollhem or whatever teleport to take me to the staff zone. but have it where ONLY mods + can use it. need some help
    Reply With Quote  
     

  2. #2  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    go into texthandler.java and search
    Code:
    , 7457)
    then it should say your current teleports name and change that to
    the name you want also the next 3 lines will have to be changed to
    (easy to figure out)
    then close and save and open clickingmost.java

    search for
    Code:
    case 51031:
    then under that put (BEFORE THE TELEPORT CORDS)
    Code:
    if (c.playerRights >= 1)
    then put your teleport cords also do that for case 29031

    hope i helped and i wouldnt mind my first rep
    Reply With Quote  
     

  3. #3  
    Member
    Join Date
    Aug 2009
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thats one way to do it, or make a command that teleports to it, such as :taffzone.
    working on A Lost Red Ball.
    look for in the iOS store soon.
    Reply With Quote  
     

  4. #4  
    Austin_
    Guest
    yea so the command would loook like this

    if (command.equalsIgnoreCase("staffzone") && playerRights >= 2) {
    toX = ####;
    toY = ####;
    sM("You teleported to the staff area!");
    } else {
    sM("You must be an Admin+ to access this command.");
    }
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2010
    Posts
    94
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Austin_ View Post
    yea so the command would loook like this

    if (command.equalsIgnoreCase("staffzone") && playerRights >= 2) {
    toX = ####;
    toY = ####;
    sM("You teleported to the staff area!");
    } else {
    sM("You must be an Admin+ to access this command.");
    }
    I'm trying to edit a staffzone to a dev7.0 soucre, how do I edit the command for it on a dev7.0 soucre? The same thing or differently?
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •