Thread: Make new right click player option

Results 1 to 3 of 3
  1. #1 Make new right click player option 
    Registered Member

    Join Date
    Oct 2007
    Posts
    1,017
    Thanks given
    1
    Thanks received
    3
    Rep Power
    562
    Description: Adding new right click player option like 'Attack'

    Difficulty: 0.1

    Assumed Knowledge: How RS2D works

    Tested Server: RS2D, DOH?

    Files/Classes Modified: GameEngine.java

    Step 1:
    Go to net.varek.rs2d and open up GameEngine.java. Now search for :
    Code:
    sender.sendPlayerCommand(3, true, "Trade with");
    Step 2:
    Now above add a new line;

    Code:
    sender.sendPlayerCommand(#1#, #2#, "#3#");
    I will explain them;

    #1# = This is in what place it should be so 1 would be ontop.

    #2# = Fill here in true or false, True then it will be ontop. False then it will be in the place you did in #1#.

    #3# = This would be the name like "Attack". Choose urself, make sure u have the "".

    Examples:

    Code:
    sender.sendPlayerCommand(1, false, "Attack");
    or
    sender.sendPlayerCommand(3, true, "Code With");
    Credits:
    The Linux, Me
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Apr 2008
    Posts
    72
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    How would I add Duel on a regular source?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Feb 2007
    Age
    25
    Posts
    6,415
    Thanks given
    354
    Thanks received
    323
    Rep Power
    5000
    wow.. Rs2d is way way way easer of making right click player option then regular server.
    [Only registered and activated users can see links. ]

    Menacescape - Runescape Private server
    Come to Menacescape. We've been online for over two years with an active community!
    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
  •