ConVar Limits

I know it’s really simple, I just can’t friggin’ find it. Where can I set a limit on a ConVar? Like, minimum 90, maximum 9001.

Sorry, I know it’s dumb, but thanks in advance.

a ConVar of what, minimum and maximum of what?

Use a convar hook callback. Check the values and whatnot.

**[Cvars.AddChangeCallback

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Cvars.AddChangeCallback)**

thanks