mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
35 lines
760 B
Lua
35 lines
760 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/
|
|
--]]
|
|
|
|
|
|
ix.option.Add("enableHints", ix.type.bool, true, {
|
|
category = "Apparence",
|
|
OnChanged = function(oldValue, value)
|
|
if (timer.Exists("ixHintsTimer")) then
|
|
if (value) then
|
|
timer.UnPause("ixHintsTimer")
|
|
else
|
|
timer.Pause("ixHintsTimer")
|
|
end
|
|
end
|
|
end
|
|
})
|
|
|
|
ix.option.Add("hintInterval", ix.type.number, 300, {
|
|
category = "Apparence",
|
|
min = 1,
|
|
max = 1800,
|
|
OnChanged = function(oldValue, value)
|
|
if (timer.Exists("ixHintsTimer")) then
|
|
timer.Adjust("ixHintsTimer", value)
|
|
end
|
|
end
|
|
})
|