Add firemode bar
This commit is contained in:
parent
1b6ba1365c
commit
d0cbbf06d4
|
@ -334,11 +334,13 @@ function OpenSMenu()
|
|||
fucker:Dock( TOP )
|
||||
fucker:DockMargin( 0, 0, 0, ss(2) )
|
||||
function fucker:Paint( w, h )
|
||||
if pan_active then
|
||||
local hm = WeaponGet( pan_active )
|
||||
surface.SetDrawColor( schema("fg") )
|
||||
surface.DrawRect( 0, 0, w, h )
|
||||
|
||||
draw.SimpleText( BENNY_GetStat( hm, "Ammo" ) .. " rounds", "Benny_12", ss(2), ss(2), schema_c("bg") )
|
||||
end
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
@ -349,6 +351,7 @@ function OpenSMenu()
|
|||
fucker:Dock( TOP )
|
||||
fucker:DockMargin( 0, 0, 0, ss(2) )
|
||||
function fucker:Paint( w, h )
|
||||
if pan_active then
|
||||
local hm = WeaponGet( pan_active )
|
||||
surface.SetDrawColor( schema("fg") )
|
||||
surface.DrawRect( 0, 0, w, h )
|
||||
|
@ -370,6 +373,7 @@ function OpenSMenu()
|
|||
end
|
||||
end
|
||||
draw.SimpleText( fms, "Benny_12", ss(2), ss(2), schema_c("bg") )
|
||||
end
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue