Thread: (PI) adding spec bar to a new wep? (PI)

Results 1 to 2 of 2
  1. #1 (PI) adding spec bar to a new wep? (PI) 
    Registered Member
    Join Date
    May 2011
    Posts
    36
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    ok well, when i set a spec to a weapon, it works, BUT! i need to wear another weapon that already has a special attack on it, lets say ags, then you wear the other item with the new spec. if you árent wearing a spec weapon first before wearing the new one, its not there, theres no spec bar.

    watch, theres many diffrent IDs

    case 3204: // d hally
    c.getPA().sendFrame171(0, 8493);
    specialAmount(weapon, c.specAmount, 8505);
    break;

    case 16909: // primal 2h -This is the new one with added spec!-
    c.getPA().sendFrame171(0, 7499); -Notice the ID 7499?
    specialAmount(weapon, c.specAmount, 7511); --Notice the ID 7511?
    break; --Well, this ID isnt like the other ones, i dont get it..

    case 4153: // gmaul
    c.getPA().sendFrame171(0, 7474);
    specialAmount(weapon, c.specAmount, 7486);
    break;

    HELP! P.S i already added the basic SPEC. the gfx, and anim etc
    Reply With Quote  
     

  2. #2  
    Registered Member Leviathan's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    125
    Thanks given
    15
    Thanks received
    22
    Rep Power
    6
    case ITEM ID:
    if(c.specAmount >= % used) {
    c.specAmount -= %used;
    c.getItems().addSpecialBar(weapon);
    return true;
    }
    return false;


    Opportunity is the Essence of Success
    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: 0
    Last Post: 03-03-2012, 11:03 PM
  2. [PI] Adding spec bar to wep :fp: :fp:
    By Moronic in forum Help
    Replies: 13
    Last Post: 10-22-2010, 05:40 PM
  3. Replies: 0
    Last Post: 01-31-2010, 02:00 AM
  4. adding spec bar[508]
    By Press Conference in forum Help
    Replies: 3
    Last Post: 09-19-2009, 06:21 AM
  5. adding spec to any wep [DELTA]
    By Hunter K0 U All in forum Tutorials
    Replies: 13
    Last Post: 03-26-2009, 07:51 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
  •