- Home /
Problem is not reproducible or outdated
You're actually missing a closing bracket after "Fire2" in line 5 and like others have said the bracket in line 6 should be a curly-bracket
Unexpected Token
I get "Unexpected token: PlayerState" error with this script. http://pastebin.com/DKALw2sA The problem is with the 7nth line.
Answer by rednax20 · Jul 09, 2013 at 02:59 PM
try changing line six to a { instead of a (
Now it says Expecting EOF,found 'else' for the 102th line http://pastebin.com/$$anonymous$$YsLJfjv
Answer by Sisso · Jul 09, 2013 at 02:35 PM
Could the compiler be expecting something else that a PlayerState?
I don't understand JavaScript that much can you tell me what can I do to fix it please ?
BTW this is the full script http://pastebin.com/ibRd4N39 81th line.
Answer by aokluoglu · Jul 09, 2013 at 03:22 PM
Nevermind just remade all of the code and it worked,I don't know why ._.
he can't close the question for some reason you need like 200 karma points to do that.
speaking of karma, why did he get 2 down votes for his question?
Ahh ok. And I don't know who voted down the question or why lol.
All he has to do to close the question is accept the answer here that he put up himself. It's not technically closing it, but if he accepts the answer, the question won't show up as new.
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
I am having two errors with my jump script 1 Answer
Unexpected token: if 1 Answer
I'm trying to teleport an object. But keep failing. 2 Answers