Forum

> > CS2D > Scripts > [Tibia] Stats Hudtxt
Forums overviewCS2D overview Scripts overviewLog in to reply

English [Tibia] Stats Hudtxt

3 replies
To the start Previous 1 Next To the start

old [Tibia] Stats Hudtxt

listenme
User Off Offline

Quote
IMG:https://i.hizliresim.com/KlnLGJ.jpg


Where this stats hudtxt lua ?
Please show.

And how I can change the location hudtxt and change background img?

old Re: [Tibia] Stats Hudtxt

NeverLast
User Off Offline

Quote
sever.lua
1
2
3
4
5
6
7
HUDImage = image('gfx/weiwen/1x1.png', 385, 435, 2)
imagescale(HUDImage, 490, 75)
imagealpha(HUDImage, 0.5)

SKY = image('gfx/weiwen/1x1.png',320,240,2)
imagescale(SKY,640,480)
imagecolor(SKY,0,0,32)

function.lua
1
2
3
4
5
6
7
8
function updateHUD(id)
     hudtxt2(id, 12, PLAYERS[id].Money, '255255000', 618, 435, 2)
     hudtxt2(id, 13, "Money", '255255255', 510, 435, 0)
     hudtxt2(id, 14, PLAYERS[id].Level, '255255000', 618, 420, 2)
     hudtxt2(id, 15, "Level", '255255255', 510, 420, 0)
     hudtxt2(id, 16, PLAYERS[id].Experience, '255255000', 618, 405, 2)
     hudtxt2(id, 17, "EXP", '255255255', 510, 405, 0)
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview