Ir para conteúdo

Featured Replies

Postado
gQkW8dW.png 
--resize as you wish
local size = 300


-- don't change nothing below this if u don't know what u're doing
locationx =  ($screenwin.width - 180) / 2 - size / 2
locationy = ($screenwin.height / 2) - (size/2) - 100

locationx2 = locationx + size - ((size + (size * 0.85)) / 2)
locationy2 = locationy + size - ((size + (size * 0.85)) / 2)

auto(100)
hp = 90 / (100 / $hppc)* - 1
mp = 90 / (100 / $mppc) 

--both border
	setbordercolor(1)
	setfillstyle('color', -1)
drawpie(locationx, locationy, size, size, 45, -90)
drawpie(locationx, locationy, size, size, 135, 90)

--manabar
	setfillstyle('color', 0x000099, 0)
drawpie(locationx, locationy, size, size, -45, mp)

--hpbar
	setfillstyle('color', 0x499900, 0)
drawpie(locationx, locationy, size, size, 225, hp)

--transparency
setbordercolor(-1)	
setfillstyle('color', -1)
drawcircle(locationx2, locationy2, size * 0.85, size * 0.85)
	setfillstyle('color', 0)
	setbordercolor(1)
drawarc(locationx2, locationy2, (size * 0.85) - 1, size * 0.85, 135, 90)
drawarc(locationx2, locationy2, size * 0.85, size * 0.85, 45, - 90)
--drawtext(locationx, 423, resh / 2 - 60)
Créditos: tibiawindbot

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo