Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local T = 30
- local TT = 300
- local function plycheck()
- //************************************************\\
- if #player.GetAll() >=1 then
- T = ( CurTime() + 30 );
- if T != 0 then
- for k,v in pairs(player.GetAll()) do
- v:SetColor(0, 0, 0, 0);
- // v:DrawModel( false );
- end
- else
- TT = (CurTime() + 300);
- for k,v in pairs(player.GetAll()) do
- v:SetColor(255, 255, 255, 255);
- // v:DrawModel( true );
- end
- end
- else
- T = 999
- TT = 999
- end
- end
- hook.Add("Think", "plycheck", plycheck)
- local function roundstart()
- draw.DrawText("Hiding Time: "..math.ceil(math.max(0,T - CurTime())), "Trebuchet18", 70, 5, Color(255,255,255,255))
- draw.DrawText("Round Time: "..math.ceil(math.max(0,TT - CurTime())), "Trebuchet18", 180, 5, Color(255,255,255,255))
- end
- hook.Add("HUDPaint", "TimerPainting", roundstart)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement