mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
arc9_settings_open + better button
This commit is contained in:
parent
7f284d9175
commit
09b6db0c9f
@ -1011,16 +1011,13 @@ if CLIENT then
|
||||
debounce[cvar] = CurTime() + 0.1
|
||||
end
|
||||
|
||||
concommand.Add("arc9_settings_open", ARC9_OpenSettings)
|
||||
|
||||
local function menu_arc9_settings(panel)
|
||||
local butt = vgui.Create( "DButton", panel )
|
||||
|
||||
local butt = panel:Button("Open settings panel!", "arc9_settings_open")
|
||||
butt:SetText("Open settings panel!")
|
||||
butt:SetPos(20, 50)
|
||||
butt:SetSize(300, 50)
|
||||
function butt:DoClick()
|
||||
ARC9_OpenSettings()
|
||||
end
|
||||
panel:ControlHelp( "\nAccess the ARC9 settings by pressing this button without having to equip a weapon!" )
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user