mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
23 lines
592 B
Lua
23 lines
592 B
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
local function addmenu()
|
|
if !vrmod then return end
|
|
|
|
vrmod.AddInGameMenuItem("ArcCW Customize", 3, 1, function()
|
|
local wep = LocalPlayer():GetActiveWeapon()
|
|
|
|
if !IsValid(wep) or !wep.ArcCW then return end
|
|
|
|
wep:ToggleCustomizeHUD(!IsValid(ArcCW.InvHUD))
|
|
end)
|
|
end
|
|
|
|
hook.Add("VRMod_Start", "ArcCW", addmenu) |