Thread: Timer

Results 1 to 5 of 5
  1. #1 Timer 
    Registered Member

    Join Date
    Jul 2007
    Age
    32
    Posts
    466
    Thanks given
    90
    Thanks received
    52
    Rep Power
    87
    Okay so on my server I got statues and if player click it and he recive random pk points. But if they mass click it they will get alot of pk points I need to fix it can someone help me how I can do the TIMER ?
    Heres code im using fot the stattue

    if(wearID == 14888) {
    if(playerEquipment[playerRing] == -1) {
    wearID = -1;
    deleteItem(14888, 1);
    Wins += 10+misc.random(10);
    sM("Your kills magically increase to "+Wins+"!");
    } else {
    sM("You must remove your ring to do that!");
    return false;
    }
    }
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    Honestly, I don't see the part where you click the statue. Or is this just the code of getting the points?
    So basically you click a statue, and if you're wearing a ring, it gives you points?
    And you want to make a timer so people can't mass click?

    Well, after you click the statue, does the ring disappear?
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jul 2007
    Age
    32
    Posts
    466
    Thanks given
    90
    Thanks received
    52
    Rep Power
    87
    Quote Originally Posted by jakehop22 View Post
    Honestly, I don't see the part where you click the statue. Or is this just the code of getting the points?
    So basically you click a statue, and if you're wearing a ring, it gives you points?
    And you want to make a timer so people can't mass click?

    Well, after you click the statue, does the ring disappear?
    you need to remove ring first
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    So the ring must be removed?
    Post the code of the statue.
    Example:

    if (objectID == xxxx) {
    code;
    }
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Sep 2007
    Posts
    1,838
    Thanks given
    22
    Thanks received
    21
    Rep Power
    0
    He's doing it so wrong dont even bother answering.
    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
  •