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 ERR : unexpected token '{'
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#3
RE: ERR : unexpected token '{'

In addition to what Silent said, this line is incorrect:

void UsedKeyOnDoor(string &in asItem, string &asEntity);


Any line that starts with "void" does not need a semicolon ";" on the end. It should be:

void UsedKeyOnDoor(string &in asItem, string &asEntity)


Hope that helped.

I rate it 3 memes.
07-11-2012, 08:27 PM
Find


Messages In This Thread
ERR : unexpected token '{' - by McWane - 07-11-2012, 08:05 PM
RE: ERR : unexpected token '{' - by SilentStriker - 07-11-2012, 08:10 PM
RE: ERR : unexpected token '{' - by Adny - 07-11-2012, 08:27 PM
RE: ERR : unexpected token '{' - by McWane - 07-11-2012, 08:43 PM
RE: ERR : unexpected token '{' - by Adny - 07-11-2012, 08:53 PM
RE: ERR : unexpected token '{' - by CookieMonster - 07-12-2012, 03:26 AM
RE: ERR : unexpected token '{' - by Your Computer - 07-12-2012, 03:35 AM
RE: ERR : unexpected token '{' - by CookieMonster - 07-12-2012, 11:58 AM
RE: ERR : unexpected token '{' - by McWane - 07-18-2012, 06:59 AM



Users browsing this thread: 1 Guest(s)