Results 1 to 4 of 4

Thread: Kill Tasker

  1. #1
    Banned
    Join Date
    Jul 2012
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0

    Kill Tasker

    im geting a error for some reason with a global variable but i dont see how...

    The Hud
    Code:
    KillCount = 1
    taskposx = 10
    taskposy = 200
    monsterkill = "Djinn", "Efreet"
    msgs = getmessages("Server Log") 
    qtd = msgs.count-1 
    qtd2 = qtd+KillCount
    
    
    for i=KillCount,qtd2 do 
     if msgs[qtd].text:find('Loot of a '..monsterkill) then 
      i=KillCount
      KillCount = KillCount+1
     end 
    end 
    addtext('you have killed '..KillCount,taskposx,taskposy)
    Line With Error
    Code:
    if KillCount >= 500 then Boat = Boat+460 end
    thanks in advance

  2. #2
    Banned
    Join Date
    Jul 2012
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    so um if i declare it somewhere else it will still be able to change it in the hud and ill be able to acess that number right?

  3. #3
    Banned
    Join Date
    Jul 2012
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    so its not possible to make a tasker?

  4. #4
    Banned
    Join Date
    Jul 2012
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    ok last question could i make a hud do the function gotolabel() ???

Posting Permissions

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