Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Unexpected end of file problem
ferryadams10 Offline
Senior Member

Posts: 288
Threads: 40
Joined: Apr 2011
Reputation: 19
#8
RE: Unexpected end of file problem

Listen, mostly when u get an error like that it's great to have notepad++ in which you can check the line numbers.

And it mostly says what the prob is for example: SetEntityActive("rag_plague_corpse_25, true);
will say just random line number.

Unexpected line ending (line 125, 1) Expected (")

So then you go in Notepad++ to line 125 and check if you forgot to place a (")

Cause the error says to expect a " but there is none and if it says like unexpected (Wink which will be in a case like this: void KitchenScare(string &in asParent, string &in asChild, int alState);

then remove the (Wink cause a void never has a (Wink

Hope this helps you fixing your problem if you don't have notepad++ yet go to this site and get it:

http://notepad-plus-plus.org/download/v5.9.6.2.html

For extra_english.lang files you go to the upper tabs, click on language/XML

For .hps files you go to laguage/C/C++

Bye Bye and please gimme reputation Tongue


Got a nice sofa
Please come and have a seat for a while

11-18-2011, 10:16 PM
Find


Messages In This Thread
Unexpected end of file problem - by Togglevolt - 11-18-2011, 03:34 PM
RE: Unexpected end of file problem - by Darion97 - 11-18-2011, 03:56 PM
RE: Unexpected end of file problem - by ferryadams10 - 11-18-2011, 10:16 PM



Users browsing this thread: 1 Guest(s)