tbh this is kinda pointless, all you have to do is figure out where the screenshot function is called and reverse it to avoid detection and checking and setting cvars is useless because anybody with access to the engine functions could easily re-register any cvar and set the value by memory avoiding any detection.