Thread: NPCHandler playerBonus

Results 1 to 3 of 3
  1. #1 NPCHandler playerBonus 
    Registered Member
    Join Date
    Nov 2009
    Posts
    185
    Thanks given
    5
    Thanks received
    0
    Rep Power
    1
    Hey guys,

    How can I get the NPCHandler class to retrieve the defense "playerBonus" from the client class?

    Code:
                    client c = (client) client;
    		int Player = 0;
    		int DefBonuz = 0;
    		DefBonuz = c.playerBonus[1];
    I know it isn't that, can anyone give me the right formula please? Sorry for being a noob .
    Update: Creation X vAlpha 1.0 - 80%


    -Removed

    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    most voids in npchandler use plr

    so you would check by doing
    Defbonuz = plr.playerBonus[1];
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2009
    Posts
    185
    Thanks given
    5
    Thanks received
    0
    Rep Power
    1
    Nope.
    Update: Creation X vAlpha 1.0 - 80%


    -Removed

    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
  •