1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
local MCO = Color(0,0,0,150)
function GM:HUDPaint()
local CountDown = self.CountDown
if (CountDown and CountDown > CurTime()) then
DrawRect(5,5,100,20,MCO)
DrawText("Preround: "..math.ceil(CountDown-CurTime()), "Trebuchet18", 10, 6, MAIN_WHITECOLOR)
end
if (CountDown and CountDown < CurTime() and CountDown > CurTime()-MAIN_PVPTIMER) then
DrawRect(5,5,130,20,MCO)
DrawText("Anti PVP timer: "..math.ceil(CountDown-(CurTime()-MAIN_PVPTIMER)), "Trebuchet18", 10, 6, MAIN_WHITECOLOR)
end
if(#player.GetAll() == 1) then
local height = 20
local width = 65*6
local x = (ScrH()/2) - (height/2)
local y = (ScrW()/2) - (width/2)
DrawRect(x,y,width,height,MCO)
DrawText("Winter Survival requires at least 2 players to begin, Invite a friend!","Trebuchet18",x+3,y, MAIN_WHITECOLOR)
end
DrawAccountInventory()
DrawHelp()
DrawIndicators()
DrawWepSwap()
DrawTargets()
DrawSpellOverlay()
end
|