![•](img/dot.gif)
![•](img/dot.gif)
![•](img/dot.gif)
![](img/smiles/halfhead.gif)
![•](img/dot.gif)
![](img/smiles/bigsmile.gif)
function time_hud(id,slot) parse([[hudtxt2 ]]..id..[[ ]]..slot..[[ "©255220000Time: ]]..tc.mins..[[ : ]]..tc.secs..[[ 256 416]]) end end
parse('hudtxt2 '..id..' 1 "This is some text" 320 240')
item[player][item] = count
t1 = {a = 1} t2 = {} setmetatable(t1, t2) t3 = {c = 3} t2.__index = t3 print(t1.a) print(t1.b) print(t1.c)
1 nil 3
parse('hudtxt2 '..id..' 1 "This is some text" 320 240')
if tc==nil then tc={} end tc={} function initArray(m) 	local array = {} 	for i = 1, m do 		array[i]=0 	end 	return array end tc.secs = initArray(32) tc.mins = initArray(32) parse ("sv_fow 1") parse ("sv_gamemode 2") addhook("usebutton","tcstart") function tcstart(id,x,y) if (x==75) and (y==79) then tc.secs[id]=tc.secs[id]+1 if (tc.secs[id]>=59) then tc.mins[id]=tc.mins[id]+1 tc.secs[id] = 0 end end end function time_hud(id) parse('hudtxt2 '..id..' 1 "©255220000Time:'tc.mins' ':' 'tc.secs'" 320 240') end
function time_hud(id) 	parse('hudtxt2 '..id..' 1 "©255220000Time:'..tc.mins..' :'..tc.secs..'" 320 240') end