Results 1 to 3 of 3

Thread: Reset Counter HELP

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Reset Counter HELP

    Can someone make a reseter for this counter?

    DEMONS_KILLED = DEMONS_KILLED or 0
    local MESSAGES = getnewmessages("Server Log")
    local MESSAGES_QUANTITY = MESSAGES.count - 1
    local DEMONS_PER_HOUR = math.floor((DEMONS_KILLED * 3600) / (System.HuntingTime() / 1000))


    for INDEX = 0, MESSAGES_QUANTITY do
    if (MESSAGES[MESSAGES_QUANTITY - INDEX].text:find("Loot of a hydra")) then
    DEMONS_KILLED = DEMONS_KILLED + 1
    end
    end

    setfontcolor(rgbcolor(255, 248, 220))
    addtext("Hydra per hour:", 15 , 120)
    addtext(DEMONS_PER_HOUR,120, 120)
    addtext("Hydras killed:", 15, 135)
    addtext(DEMONS_KILLED, 120, 135)

  2. #2
    Normal User
    Join Date
    Dec 2012
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    4
    noob

  3. #3
    iBot User
    Join Date
    Oct 2012
    Posts
    44
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    options > Reset HUD? Not sure if it works with the counter. Tried it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •