• Add A Limit to A ClientConVar?
    3 replies, posted
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.