Hey guys, i created this mana bar hud and would like to share with you.
obs: it may move when you are on a parcel (example)PHP Code:
init start
local blueGradient = {0.0, color(0, 0, 205)}
local blackGradient = {0.0, color(28, 28, 28)}
init end
setposition($clientwin.left + 2, $worldwin.top - 28)
setfillstyle('gradient', 'linear', 2, 0, 0, 0, 14)
-- mp bar
addgradcolors(table.unpack(blackGradient))
back = drawshape('rect', ($screenwin.width / 6.07) + 362, ($screenwin.height / 8.1) + 193.2, 100 * 0.25, 2)
addgradcolors(table.unpack(blueGradient))
header = drawshape('rect', ($screenwin.width / 6.07) + 362, ($screenwin.height / 8.1) + 193.2, $mppc * 0.25, 2)