Thread: How do you add special attack bars for custom items in PI? $10

Results 1 to 10 of 10
  1. #1 How do you add special attack bars for custom items in PI? $10 
    Registered Member

    Join Date
    Feb 2010
    Age
    14
    Posts
    1,262
    Thanks given
    554
    Thanks received
    403
    Rep Power
    832
    $10 if it's a immediate and working fix, I've done the obvious shit.
    Code:
    public boolean checkSpecAmount(int weapon) {
    		switch(weapon) {
    Code:
    public void addSpecialBar(int weapon) {
    		switch(weapon) {
    What else do I've to add my custom item at? For those wondering, dragon claws: 14484.
    I'M A THUG, AND I... DEMAND... MY RIGHTS!
     

  2. #2  
    Old School Member

    Join Date
    Feb 2008
    Age
    26
    Posts
    2,163
    Thanks given
    372
    Thanks received
    40
    Rep Power
    687
    base?
     

  3. #3  
    Registered Member

    Join Date
    Feb 2010
    Age
    14
    Posts
    1,262
    Thanks given
    554
    Thanks received
    403
    Rep Power
    832
    Project Insanity, PI.
    I'M A THUG, AND I... DEMAND... MY RIGHTS!
     

  4. #4  
    🍥🍥🍥


    Join Date
    Dec 2008
    Age
    25
    Posts
    1,709
    Thanks given
    664
    Thanks received
    293
    Rep Power
    621
    ItemAssistant
    Code:
    else if (WeaponName.endsWith("whip") || WeaponName.endsWith("Custom Item Here")) {
    			c.setSidebarInterface(0, 12290); //flick, lash, deflect
    			c.getPA().sendFrame246(12291, 200, Weapon);
    			c.getPA().sendFrame126(WeaponName, 12293);
    		}
    checkSpecAmount
    Code:
    		case 4151:
                            case CustomItemID here:
                            case 11694:
    			case 11698:
                        case 10887:
    			case 4153:
    			if(c.specAmount >= 5) {
    				c.specAmount -= 5;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
     

  5. #5  
    Registered Member

    Join Date
    Feb 2010
    Age
    14
    Posts
    1,262
    Thanks given
    554
    Thanks received
    403
    Rep Power
    832
    That doesn't work. Read what I posted..
    I'M A THUG, AND I... DEMAND... MY RIGHTS!
     

  6. #6  
    🍥🍥🍥


    Join Date
    Dec 2008
    Age
    25
    Posts
    1,709
    Thanks given
    664
    Thanks received
    293
    Rep Power
    621
    Quote Originally Posted by Bizerk View Post
    That doesn't work. Read what I posted..
    Add me on msn? I know your prob.. i can't explain it though
     

  7. #7  
    Registered Member
    Xynth's Avatar
    Join Date
    May 2009
    Posts
    2,222
    Thanks given
    226
    Thanks received
    259
    Rep Power
    1155
    Add [Only registered and activated users can see links. ]. I know how to do this.
     

  8. #8  
    Fuckin PRO Derek's Avatar
    Join Date
    May 2008
    Posts
    1,259
    Thanks given
    38
    Thanks received
    86
    Rep Power
    67
    Look for case 4151 and at case CustomItemID here:
    Thank me if I helped you.





    [Only registered and activated users can see links. ]
    or
    [Only registered and activated users can see links. ]
     

  9. Thankful user:


  10. #9  
    🍥🍥🍥


    Join Date
    Dec 2008
    Age
    25
    Posts
    1,709
    Thanks given
    664
    Thanks received
    293
    Rep Power
    621
    Quote Originally Posted by Phych0k View Post
    Look for case 4151 and at case CustomItemID here:

    Yeah, like if you were to add a new weapon, just add it with whip or somthing, so where ever whip is at, just add case CustomItemIDhere: underneath case 4151:
     

  11. #10  
    Registered Member

    Join Date
    Oct 2009
    Posts
    1,595
    Thanks given
    100
    Thanks received
    50
    Rep Power
    232
    FUCK MONEY !

    [Only registered and activated users can see links. ]
     


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
  •