Thread: Minimap Right clicking.

Results 1 to 4 of 4
  1. #1 Minimap Right clicking. 
    Registered Member

    Join Date
    Sep 2009
    Age
    23
    Posts
    2,770
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    Hi, i've recently added summoning on to my (Project Insanity) source;

    i've also added a summon orb on the client, with some options such as take bob, etc. can someone explain to me How i can make those options actually work, because when i click on them there isn't a set button ID?

    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Mar 2010
    Posts
    154
    Thanks given
    15
    Thanks received
    13
    Rep Power
    31
    It's client sided.
    Code:
                            if (super.mouseX >= 695 && super.mouseX <= 751 && super.mouseY >= 134 && super.mouseY < 165) {
    					menuActionName[1] = "Familar Information";
    				menuActionID[1] = 1505;
    				menuActionRow = 2;
    			}
    So 1505 is the id for the button(client-sided).

    Code:
    		if(l == 1505) {
    			code here
    		}
    Not really sure that's what you need for take bob and shit.
    So if you didn't need this, sorry.





    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member

    Join Date
    Sep 2009
    Age
    23
    Posts
    2,770
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    Quote Originally Posted by Drewa1 View Post
    It's client sided.
    Code:
                            if (super.mouseX >= 695 && super.mouseX <= 751 && super.mouseY >= 134 && super.mouseY < 165) {
    					menuActionName[1] = "Familar Information";
    				menuActionID[1] = 1505;
    				menuActionRow = 2;
    			}
    So 1505 is the id for the button(client-sided).

    Code:
    		if(l == 1505) {
    			code here
    		}
    Not really sure that's what you need for take bob and shit.
    So if you didn't need this, sorry.
    So

    Code:
    				menuActionName[1] = "Dismiss familiar";
    				menuActionID[1] = 1760;
    				menuActionRow = 4;
    menuActionID[1] = 1760;

    the 1760 is the button id?
    Reply With Quote  
     

  5. #4  
    Registered Member

    Join Date
    Sep 2009
    Age
    23
    Posts
    2,770
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    Nvm, figured it out, thanks for the help
    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. Right clicking minimap
    By DotEXE in forum Help
    Replies: 0
    Last Post: 09-13-2011, 01:46 PM
  2. Right clicking on minimap
    By Purple in forum Help
    Replies: 1
    Last Post: 06-15-2011, 08:06 PM
  3. Minimap Clicking
    By Zaga in forum Help
    Replies: 1
    Last Post: 04-14-2010, 11:18 AM
  4. Minimap clicking
    By BenjaR in forum Help
    Replies: 1
    Last Post: 03-30-2009, 03:18 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
  •