Originally Posted by Dridzt
I'm saying this from memory so take it with a grain of salt but I believe the cvars are string type not number.
So try setting them to "1" and "0" respectively.
You also do not need to test explicitly for true.
Code:
If IsResting() then
should be sufficient
|
Didn't fix it.
Getting this error:
Usage: SetCVar("cvar", value [, "scriptCvar")
<in C code>
|
Edit: I believe it's something with the "else" maybe it should be another word?