Creates a console variable (ConVar), in general these are for things like gamemode/server settings.
This function uses CreateConVar_Internal internally, but caches the result in Lua for quicker lookups.
Name of the convar.
This cannot be a name of an engine console command or console variable. It will silently fail if it is. If it is the same name as another lua ConVar, it will return that ConVar object.
Default value of the convar. Can also be a number.
Flags of the convar, see FCVAR_ Enums
, either as bitflag or as table.
The help text to show in the console.
If set, the ConVar cannot be changed to a number lower than this value.
If set, the ConVar cannot be changed to a number higher than this value.