Results 1 to 5 of 5

Thread: HUD Recent Loot c/ letras pequenas

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    HUD Recent Loot c/ letras pequenas

    Galera , sou novato em HUD's , mas lembro q antigamente tinha um HUD de Recent Loot's , q dava para ajustar o tamanho da letra , caço na banuta que da muito spamde loot , ai tenho q por umas 30 linhas de loot , para n perder nada , queria muito diminuir as letras para não comer metade da minha tela de recent loots

  2. #2
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    qual voce esta usando?

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    -- you can add more items here
    local warnitems = {'dragon shield', 'wand of inferno', 'serpent sword', 'dragon hammer', 'Magma Boots', 'Dragonbone Staff', 'Fire Sword', 'Tower Shield', 'Dragon Slayer', 'Royal Helmet', 'Dragon Scale Mail', 'Dragon Lord Trophy', 'Wand of Draconia', 'Focus Cape', 'Wand of Starstorm', 'Hibiscus Dress', 'Shockwave Amulet', 'Composite Hornbow', 'Zaoan Shoes', 'Zaoan Legs', 'Zaoan Armor', 'Zaoan Helmet'}

    -- max lines to display at once
    local maxindex = 5

    -- spacing between lines
    local spacing = 12


    local index = 0
    local msgs = getmessages("Server Log")
    local qtd = msgs.count-1
    for i=0,qtd do
    if msgs[qtd-i].type == 20 and msgs[qtd-i].text:find('Loot of ') then

    local colorm = false
    local l = 0
    for l=1, table.getn(warnitems) do
    if msgs[qtd-i].text:find(warnitems[l]) then
    colorm = true
    break
    end
    end
    if colorm then
    setfontcolor('red')
    else
    setfontcolor('Gold')
    end

    addtext(msgs[qtd-i].text, worldwin.left+40,worldwin.bottom-(maxindex*spacing)+20+(index*spacing))

    index=index+1
    if index == maxindex then
    break
    end
    end
    end

  4. #4
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    Testa esse aí

    PHP Code:
    -- you can add more items here 
    local warnitems 
    = {'dragon shield''wand of inferno''serpent sword''dragon hammer''Magma Boots''Dragonbone Staff''Fire Sword''Tower Shield''Dragon Slayer''Royal Helmet''Dragon Scale Mail''Dragon Lord Trophy''Wand of Draconia''Focus Cape''Wand of Starstorm''Hibiscus Dress''Shockwave Amulet''Composite Hornbow''Zaoan Shoes''Zaoan Legs''Zaoan Armor''Zaoan Helmet'

    -- 
    max lines to display at once 
    local maxindex 


    -- spacing between lines 
    local spacing 
    12

    --tamanho da letra
    local Tamanho_da_Letra 
    8

    local index 

    local msgs 
    getmessages("Server Log"
    local qtd msgs.count-

    setfontstyle
    ("Verdana"Tamanho_da_Letra"normal")

    for 
    i=0,qtd do 
    if 
    msgs[qtd-i].type == 20 and msgs[qtd-i].text:find('Loot of 'then 

    local colorm 
    false 
    local l 

    for l=1table.getn(warnitems) do 
    if 
    msgs[qtd-i].text:find(warnitems[l]) then 
    colorm 
    true 
    break 
    end 
    end 
    if colorm then 
    setfontcolor
    ('red'
    else 
    setfontcolor('Gold'
    end 

    addtext
    (msgs[qtd-i].textworldwin.left+40,worldwin.bottom-(maxindex*spacing)+20+(index*spacing)) 

    index=index+
    if index == maxindex then 
    break 
    end 
    end 
    end 

  5. #5
    Normal User
    Join Date
    May 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Certo! Perfeito! Obrigado!

Posting Permissions

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