PDA

View Full Version : Custom command for set client cvar



Toxys
24th October 2021, 07:37
Hello,

How can I do a custom command for setting client's cvar without libcod (or if it's necessary then with libcod)? setcvar("test", "1") which is not an rcon / openscritmenu command just for example if player type /test in the console then setting the cvar's value.

maxdamage99
29th October 2021, 05:39
self setClientCvar("cg_thirdPerson", "1");