View Single Post
Visual77
Veteran Member
Join Date: Jan 2009
Old 04-09-2018 , 13:34   Re: CreateConVar exits, what about DeleteConVar ?
Reply With Quote #5

I want to delete them in order to tidy up the A2S_RULES list (the publicly quired server convars).

Lets say I load a plugin that is creating 10 public cvars with FCVAR_NOTIFY. During play, I unload this plugin without restarting the server that day. 1. The ConVars will still be in memory. and 2. They are still going to show up in the A2S_Rules list. These ConVars will be falsely quiered by HLSW, when the plugin is not even loaded on the server anymore.
Visual77 is offline