Thread: command error|normal players cant do the command|beyond important|

Results 1 to 4 of 4
  1. #1 command error|normal players cant do the command|beyond important| 


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    26
    Posts
    9,736
    Thanks given
    1,754
    Thanks received
    3,102
    Rep Power
    5000
    hey guys im release a remake of Downscape, and i need help with something major for the release
    i made acustom command that pops up a interface and tells you what to do and how to get there, fully works... for owner only.. that i know of, i made a random account and tried it.. didn't work, so is there anyone there to help me out with this code ?
    Code:
    if (playerCommand.equalsIgnoreCase("startdung")) {
    c.getItems().addItem(15707, 1);
    				c.getPA().showInterface(8134);
    				c.getPA().sendFrame126("@[email protected]~ xxDestructionxx Dungeoneering ~",8144);
    				c.getPA().sendFrame126("@[email protected]'re rewarding with Ring of Kinship",8145);
    				c.getPA().sendFrame126("@[email protected] click and select teleport to daemonheim",8146);
    				c.getPA().sendFrame126("@[email protected] click and select teleport to daemonheim",8147);
    				c.getPA().sendFrame126("@[email protected] follow the path till you",8148);
    				c.getPA().sendFrame126("@[email protected] a portal, enter the portal",8149);
    				c.getPA().sendFrame126("@[email protected] have fun Dungeoneering!",8150);              
                            }
    can anyone help make it so everyone can use that command ?
    Fish

    [Only registered and activated users can see links. ]
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  2. #2  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    30
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Discord
    View profile
    Rep Power
    117
    move it to the right area? im guessing that command class has the "better command handler" that directs you to a method based on your rights.
    potatoes.
    Reply With Quote  
     

  3. #3  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    26
    Posts
    9,736
    Thanks given
    1,754
    Thanks received
    3,102
    Rep Power
    5000
    Quote Originally Posted by Robgob69 View Post
    move it to the right area? im guessing that command class has the "better command handler" that directs you to a method based on your rights.
    here ill make a video on what it does
    and u can try and others can try to help me out on it..
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2010
    Posts
    536
    Thanks given
    61
    Thanks received
    25
    Rep Power
    4
    Quote Originally Posted by Robgob69 View Post
    move it to the right area? im guessing that command class has the "better command handler" that directs you to a method based on your rights.
    Quote Originally Posted by xxifish i x View Post
    here ill make a video on what it does
    and u can try and others can try to help me out on it..
    Obviously, Robgob said what you need to know.

    Copy the code, delete it, go to top, beneath

    Code:
    		if(c.playerRights >= 0) {
    add your somelookingqueerinterfacecommand to it.
    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
  •