Jynxxx has written
You could always just do this...
1
2
3
4
5
6
2
3
4
5
6
addhook("ms100","_ms100") function _ms100() 	for _, id in ipairs(player(0, "tableliving")) do 		updateHUD(id) 	end end
Thanks man!
It's working now.
I edited it a bit and now it shows the speed too!
Please try it out! :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function updateHUD(id) for i, v in ipairs(CONFIG.STATS) do hudtxt2(id, #CONFIG.STATS+i, v, '255255255', 510, 407+(i-1)*CONFIG.PIXELS, 0) hudtxt2(id, i, PLAYERS[id][v], '255255000', 620, 407+(i-1)*CONFIG.PIXELS, 2) 		 	 hudtxt2(id,21, PLAYERS[id].tmp.atk, '043255001', 607,50,0) 	 hudtxt2(id,23, PLAYERS[id].tmp.def, '043255001', 607,65,0) 	 hudtxt2(id,25, PLAYERS[id].tmp.spd, '043255001', 607,80,0) hudtxt2(id,22, "Attack:", '255000000', 550,50,0) 	 hudtxt2(id,24, "Defence:", '000192224', 550,65,0) hudtxt2(id,26, "Speed:", '255255000', 550,80,0) 		 	 hudtxt2(id,27, "############", '255255255', 545,40,0) --BAR TOP 	 hudtxt2(id,28, "############", '255255255', 545,92,0) --BAR BOTTOM end end