1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
addhook( "second", "everySecond")
function everySecond( id)
if teamid[id]==1 then
hudtext2(id,id,"255000000","Team :-Devil-",500,300)
hudtext2(id,id+1,"255000000","Total Score :"..rscore[id].."",500,318)
elseif teamid[id]==2 then
hudtext2(id,id,"000000255","Team :-Angel-",500,300)
hudtext2(id,id+1,"000000255","Total Score :"..bscore[id].."",500,318)
elseif teamid[id]==3 then
hudtext2(id,id,"000255000","Team :-Lost Angels-",500,300)
hudtext2(id,id+1,"000255000","Total Score :"..gscore[id].."",500,318)
elseif teamid[id]==4 then
hudtext2(id,id,"255255000","Team :-Semigods-",500,300)
hudtext2(id,id+1,"255255000","Total Score :"..yscore[id].."",500,318)
end
function evSecond()
for _, id in ipairs( player( 0, "table")) do
everySecond( id)
end
end
end