Hello
I copied some code from a trigger that opens gates when someone gets into trigger area.
But its not working properly: it opens and closes the gate 1st time with an error message "Invalid number in expression" in line 8"
If i try again to open them it stays open..doesnt close again.
can anyone help pls?
i attached the sqf file.