08-03-2011, 12:36 AM
Hello peoples
,
Would:
Get the value of the variable so I could use it like this:
And so it repeats until "Breath" has got to three. I have already set up "Breath" to 0
Thanks
,Would:
Code:
GetLocalVarInt(string& asName);Code:
void Wake(string &in asTimer)
{
if(GetLocalVarInt(Breath)==3) Something
else PlayGuiSound("react_breath_slow.snt", 1);
AddLocalVarInt("Breath", 1);
AddTimer("return", 2.45, "Wake");
}Thanks
