Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function addbordertext(text, color, xpos, ypos)
- setfontcolor(rgbcolor(1, 1, 1))
- addtext(text, xpos+1, ypos)
- addtext(text, xpos-1, ypos)
- addtext(text, xpos, ypos+1)
- addtext(text, xpos, ypos-1)
- setfontcolor(color)
- addtext(text, xpos, ypos)
- end
- local numberscolor = rgbcolor(255, 255, 255)
- local namecolor = rgbcolor(230, 221, 213)
- local staminaformated = 0
- local staminahours = 0
- if math.floor(stamina/60) >= 10 then
- staminahours = math.floor(stamina/60)
- else
- staminahours = "0" .. math.floor(stamina/60)
- end
- local staminaminutes = 0
- if math.floor(stamina - math.floor(stamina/60)*60) >= 10 then
- staminaminutes = math.floor(stamina - math.floor(stamina/60)*60)
- else
- staminaminutes = "0" .. math.floor(stamina - math.floor(stamina/60)*60)
- end
- local staminaformated = staminahours .. ":" .. staminaminutes
- setposition(worldwin.left+10, worldwin.top+33)
- addbordertext("BOTTING INFO", rgbcolor(255, 180, 4), 0, 0)
- addbordertext("Exp per Hour", namecolor, 0, 15)
- addbordertext("Exp to Level", namecolor, 0, 30)
- addbordertext("Exp Gained", namecolor, 0, 45)
- addbordertext("Time to Level", namecolor, 0, 60)
- addbordertext("Time Online", namecolor, 0, 75)
- addbordertext("Stamina", namecolor, 0, 90)
- addbordertext("Balance", namecolor, 0, 105)
- addbordertext(tibiaexphour, numberscolor, 100, 15)
- addbordertext(exptolevel(), numberscolor, 100, 30)
- addbordertext(expgained, numberscolor, 100, 45)
- addbordertext(timetolevel, numberscolor, 100, 60)
- addbordertext(timehunt, numberscolor, 100, 75)
- addbordertext(balance, numberscolor, 100, 105)
- if stamina > 2400 then
- addbordertext(staminaformated, rgbcolor(106, 177, 22), 100, 90)
- elseif stamina > 840 then
- addbordertext(staminaformated, rgbcolor(248, 158, 0), 100, 90)
- else
- addbordertext(staminaformated, rgbcolor(255, 0, 0), 100, 90)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement