Download Python 3.9 or newer from https://www.python.org/downloads/ and install it
(tick the option "Add Python to PATH").
Open the command prompt and type: python -m pip install pymem pywin32
Run CSGO before this script. You will also need to run this script as administrator
This does the same as r_drawothermodels 2 command but without touching the cvar, so it's VAC - safe.
This program patches assembly code produced by compiling the following line of the game code:
int extraFlags = 0;
if ( r_drawothermodels.GetInt() == 2 )
{
extraFlags |= STUDIO_WIREFRAME;
}
The r_drawothermodels check is modified to make the if
expression evaluate to true when r_drawothermodels cvar is set to default value (1).