ConVar Value Type Restriction
Posted: Wed Nov 07, 2018 11:01 pm
Hey,
Is there currently a way to restrict the value of a ConVar to a specific value type?
Currently I'm using a server_cvar Hook to check for valid FLOAT value and cache it meanwhile. Something like "type:float" woulda be hella cool, without needing to store it under a seperate variable.
Is there currently a way to restrict the value of a ConVar to a specific value type?
Currently I'm using a server_cvar Hook to check for valid FLOAT value and cache it meanwhile. Something like "type:float" woulda be hella cool, without needing to store it under a seperate variable.