Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile()
- local Curtime = 0
- net.Receive("timerInterGalactique", function() Curtime = net.ReadFloat()
- end)
- local function timerintergalactique()
- TIMERGALACTIQUE = {}
- local bitch = TIMERGALACTIQUE
- bitch.timer = Curtime + 3600
- if bitch.timer >= CurTime() then
- bitch.checkthevalues = bitch.timer -CurTime()
- bitch.checkthevalues = math.Round(bitch.checkthevalues)
- bitch.checkthevalues = string.ToMinutesSeconds(bitch.checkthevalues)
- draw.RoundedBox(0,ScrW() -500, 10 ,500-10,100-10, Color( 240,100,20, 200))
- draw.RoundedBox(0,ScrW() -500, 10 ,500-10, 20, Color( 157, 62, 12))
- draw.SimpleText("Vous avez "..bitch.checkthevalues.. " avant la Guerre Intergalactique !","Trebuchet24",(ScrW()/2)+700,ScrH()/2 -490,Color(255,255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
- else
- draw.RoundedBox(0,ScrW() -500, 10 ,500-10,100-10, Color( 250,90,10, 200))
- draw.RoundedBox(0,ScrW() -500, 10 ,500-10, 20, Color( 167, 52, 02))
- draw.SimpleText("GUERRE INTERGALACTIQUE EN COURS !","CloseCaption_BoldItalic",(ScrW()/2)+700,ScrH()/2 -490,Color(42,50,42), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
- timer.Simple(600, function() Curtime = CurTime() end )
- end
- end
- hook.Add("HUDPaint","testingmynewaddong", timerintergalactique)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement