Closed Electr0 closed 7 years ago
I am going to use FCVAR_PLUGIN flags instead, following the convention of the readyup plugin I took the cvar from : https://github.com/MatthewClair/l4d2readyup/blob/master/readyup.sp. Thank you for bringing this issue up, it explains the server name locking on a friend's server running my config.
This is fix imposible change values of dublicated cvars: l4d_ready_enabled l4d_ready_cfg_name
Error in console: Can't use cheat cvar l4d_ready_cfg_name in multiplayer, unless the server has sv_cheats set to .
Because you mark cvars FCVAR_CHEAT, this do error in server console while load other config after unload hard coop config. And other configs cannot change values of this cvars because by default they NOT use sm_cvar or confogl_addcvar for this cvars. I think this very bad error for servers with more 1 configs. I replaced your a compilier error fix with a neutral solution that does not cause problems for other configs.