Quote:
Originally Posted by Popoklopsi
How would you change to default value?
|
PHP Code:
AutoExecConfig_CreateConVar("myplugin_version", PLUGIN_VERSION, "Version of myplugin", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY)
Above, the default value for myplugin_version is specified as PLUGIN_VERSION. When PLUGIN_VERSION changes, the default value changes.
__________________