Thread: right clicking a special player

Results 1 to 8 of 8
  1. #1 right clicking a special player 
    i want a PM. The best in life is free.
    Project M's Avatar
    Join Date
    Mar 2012
    Posts
    368
    Thanks given
    20
    Thanks received
    13
    Rep Power
    14
    how do i do so if you rightclick a player named Malin you get attack option, else your not?


    Code:
    	 }else if(!o.playerName.equalsIgnoreCase("Malin")) {	
    			this.getPA().showOption(3, 0, "Attack", 1);
                this.getPA().showOption(2, 0, "null", 1);
    whats what ive got so far. but that dosent work.


    i need a new method for this.
    i also need to edit:

    Code:
    	Client o = (Client)PlayerHandler.players[this.c.playerId];
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,760
    Thanks given
    297
    Thanks received
    534
    Rep Power
    1596
    Code:
    if(!o.playerName.equalsIgnoreCase("Malin"))
    Quote Originally Posted by Aj View Post
    This is not even a tutorial. It's fail for rep. It's fail for life.
    Reply With Quote  
     

  3. #3  
    i want a PM. The best in life is free.
    Project M's Avatar
    Join Date
    Mar 2012
    Posts
    368
    Thanks given
    20
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by 'Spike View Post
    Code:
    if(!o.playerName.equalsIgnoreCase("Malin"))
    tried that too. still dosent work.

    i need a new method for this.
    i also need to edit:

    Code:
    	Client o = (Client)PlayerHandler.players[this.c.playerId];
    Reply With Quote  
     

  4. #4  
    i want a PM. The best in life is free.
    Project M's Avatar
    Join Date
    Mar 2012
    Posts
    368
    Thanks given
    20
    Thanks received
    13
    Rep Power
    14
    bump
    Reply With Quote  
     

  5. #5  
    right clicking a special player



    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    16,307
    Thanks given
    7,215
    Thanks received
    12,308
    Rep Power
    5000
    the player options packet creates options for all players, you can't specify what player it appears on without client edits.

    Attached image
    Reply With Quote  
     

  6. #6  
    i want a PM. The best in life is free.
    Project M's Avatar
    Join Date
    Mar 2012
    Posts
    368
    Thanks given
    20
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by Scu11 View Post
    the player options packet creates options for all players, you can't specify what player it appears on without client edits.
    hmm. could you help me on how im doing that client sided ?
    Reply With Quote  
     

  7. #7  
    Donator

    Anthony's Avatar
    Join Date
    Dec 2007
    Age
    29
    Posts
    1,344
    Thanks given
    198
    Thanks received
    129
    Rep Power
    355
    Quote Originally Posted by Project M View Post
    hmm. could you help me on how im doing that client sided ?
    You may want to take a few lessons on Java first. I've never seen anything from you but a help thread. Here this may help http://www.rune-server.org/programmi...tals-java.html
    Reply With Quote  
     

  8. #8  
    i want a PM. The best in life is free.
    Project M's Avatar
    Join Date
    Mar 2012
    Posts
    368
    Thanks given
    20
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by Drake View Post
    You may want to take a few lessons on Java first. I've never seen anything from you but a help thread. Here this may help http://www.rune-server.org/programmi...tals-java.html
    yea. im trying to learn.. just hard for me..
    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. Replies: 3
    Last Post: 12-19-2011, 07:31 AM
  2. Replies: 2
    Last Post: 08-01-2011, 01:10 AM
  3. player clicking on something
    By peronigood in forum Help
    Replies: 5
    Last Post: 11-30-2010, 03:01 PM
  4. Walk to player before special
    By myK- in forum Help
    Replies: 3
    Last Post: 01-11-2010, 11:38 PM
  5. Replies: 80
    Last Post: 11-30-2008, 12:54 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •