Discord
Steam
/
Developers
/
Add A Limit to..
Login/Join
Event Log
Add A Limit to A ClientConVar?
3 replies, posted
Search
In This Thread
Would it be possible to make a maximum for a client convar?
you could make it so that whatever function uses this convar only accepts "valid" values
math.Clamp is what you need!
cvars.AddChangeCallback isnumber/tonumber math.Clamp RunConsoleCommand
Sorry, you need to
Log In
to post a reply to this thread.