|
Hello everyone, Makar here, I was working on a script, and I found this rather odd:
This is the Console error, and below is the Script itself:
The second to last line, which is highlighted, is the line in question by the console. It says unexpected token, yet it's the semicolon. It's closing the other, so what's wrong?
(comments are locked)
|
|
You should add some command/commands in the "case 0:" block (instead of the comment). The compiler tries to find a command there, so the semicolon is unexpected :)
(comments are locked)
|



Try adding a break statement after case 0.
Thanks man! It worked.