Thread: [PI] Easy fix for rep

Results 1 to 8 of 8
  1. #1 [PI] Easy fix for rep 
    Registered Member
    Join Date
    Jan 2010
    Posts
    590
    Thanks given
    15
    Thanks received
    6
    Rep Power
    3
    Hey everyone, I added pk points system into my server.
    And I got a problem.
    If someone die he lost a pk point.
    The killer get a pk point.
    If someone use duel arena, they get\loose point like in the wilderness.
    This is the code below "Oh dear".
    Code:
    c.pkPoints -= 1;
    o.pkPoints += 1;
    Please help, I tried everything.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    You didn't ask anything..
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member TLPK-SCAPE's Avatar
    Join Date
    Nov 2008
    Posts
    234
    Thanks given
    1
    Thanks received
    4
    Rep Power
    4
    if what you are saying is that your pk point system works in duel arena well them make another death system if they are in duel arena.
    Reply With Quote  
     

  5. #4  
    Registered Member MadZ's Avatar
    Join Date
    Dec 2009
    Posts
    143
    Thanks given
    0
    Thanks received
    3
    Rep Power
    16
    Or.. add an "else if" isinDuelArena, etc..
    [SBD="- Renegade"] Failure to play iCraig.[/SBD]
    Reply With Quote  
     

  6. #5  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    } else if (getPA().inDuelarena()) {
    }

    Not sure about the variables u find em all u need is an else statment [=

    and you can only give like 2 rep points if that
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    Jan 2010
    Posts
    590
    Thanks given
    15
    Thanks received
    6
    Rep Power
    3
    Already tried it, And it's not working.
    I need make so you wont gain or loose pk points when using duel arena.
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Jan 2010
    Posts
    590
    Thanks given
    15
    Thanks received
    6
    Rep Power
    3
    Bump.
    Reply With Quote  
     

  9. #8  
    Registered Member
    Join Date
    Dec 2008
    Posts
    203
    Thanks given
    1
    Thanks received
    3
    Rep Power
    6
    somthing like if(!inarena){
    c.pkpoint++;
    o.pkpoint--;
    }

    ^ somthing like that good luck
    BAM
    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
  •