I know that's the thing to put in the console to fix it, I want to know how exactly to make a script like jezuzlizard said that automatically does it so I dont have to enter it every time I start the game.
I tried putting
self setclientdvar("r_lodBiasRigid", -1000);
self setclientdvar("r_lodBiasSkinned", -1000);
in a gsc file with nothing else in it and compiling it but compilation didnt work, so im wondering how exactly to format it so it works