Call of Duty get Client CVAR
Hi, i'm trying to add wide screen support to Call of Duty. I added the option to change screen resolution with wide screen res to graphics menu, but now i need to change users fov that have this option on when they connect to server.
So i want to check user cvar r_mode and then set the cvar.
Despite this is a "cheat protected cvar" I can change the cvar if I do it from the server. self setClientCvar("cg_fov", "90");
This is a temoral change. As soon as the players disconnect the cvar goes back to normal.
But i'm having problems with reading users r_mode cvar, is there a way to do this?
Thanks!