07-19-2011, 11:25
I want to create my custom dvar and i do this
if(getDvarInt(#"scr_disable_hardscope") == "")
setdvar(#"scr_disable_hardscope", "0");
else if(getDvarInt(#"scr_disable_hardscope") > 1)
setDvar(#"scr_disable_hardscope", 1);
else if(getDvarInt(#"scr_disable_hardscope") < 0)
setDvar(#"scr_disable_hardscope", 1);
now how to change it from console? console say scr_disable_hardscope doesnt exist!
if(getDvarInt(#"scr_disable_hardscope") == "")
setdvar(#"scr_disable_hardscope", "0");
else if(getDvarInt(#"scr_disable_hardscope") > 1)
setDvar(#"scr_disable_hardscope", 1);
else if(getDvarInt(#"scr_disable_hardscope") < 0)
setDvar(#"scr_disable_hardscope", 1);
now how to change it from console? console say scr_disable_hardscope doesnt exist!