1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
function updateHUD(id) for i, v in ipairs(CONFIG.STATS) do hudtxt2(id, #CONFIG.STATS+i, v, '255000000', 510, 407+(i-1)*CONFIG.PIXELS, 0) hudtxt2(id, i, PLAYERS[id][v], '128000000', 620, 407+(i-1)*CONFIG.PIXELS, 2) hudtxt2(id,21, PLAYERS[id].tmp.def, '128000000', 480,405,1) hudtxt2(id,23, PLAYERS[id].tmp.atk, '128000000', 480,420,1) hudtxt2(id,25, PLAYERS[id].tmp.spd, '128000000', 480,435,1) hudtxt2(id,22, "Defence", '255000000', 428,405,1) hudtxt2(id,24, "Attack", '255000000', 428,420,1) hudtxt2(id,26, "Speed", '255000000', 428,435,1) end end