07-28-2012, 11:50 AM
(This post was last modified: 09-01-2022, 01:01 AM by Fearless Community.
Edit Reason: Checked Encoding
)
Do you want the code?
Here it is:
And here is a picture.
[Image: hl220120728144715401.png]
I sent the EXACT same code to Verdat
If image doesn't show up fully, copy image url.
Here it is:
Code:
if (SERVER) then
AddCSLuaFile("autorun/clock.lua")
end
if (CLIENT) then
function clockhud()
draw.RoundedBox( 6, ScrW()*0.932, ScrH()*0.925, 128, 46, Color( 125, 125, 125, 200 ) )
draw.SimpleText(os.date( "%a, %H:%M:%S" ), "TabLarge", ScrW()*0.947, ScrH()*0.932, Color( 30, 144, 255, 255 ),0,0)
draw.SimpleText(os.date( "%d/%m/20%y" ), "TabLarge", ScrW()*0.9475, ScrH()*0.946, Color( 30, 144, 255, 255 ),0,0)
end
hook.Add("HUDPaint", "clockhud", clockhud)
end
And here is a picture.
[Image: hl220120728144715401.png]
I sent the EXACT same code to Verdat
If image doesn't show up fully, copy image url.