mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
34
gamemodes/ixhl2rp/plugins/ln_hints/sh_options.lua
Normal file
34
gamemodes/ixhl2rp/plugins/ln_hints/sh_options.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
--[[
|
||||
| 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 = "appearance",
|
||||
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 = "appearance",
|
||||
min = 1,
|
||||
max = 1800,
|
||||
OnChanged = function(oldValue, value)
|
||||
if (timer.Exists("ixHintsTimer")) then
|
||||
timer.Adjust("ixHintsTimer", value)
|
||||
end
|
||||
end
|
||||
})
|
||||
Reference in New Issue
Block a user