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 '{'
CookieMonster Offline
Junior Member

Posts: 2
Threads: 0
Joined: Jul 2012
Reputation: 0
#6
RE: ERR : unexpected token '{'

anyone who could help me with this one ? error is at main(6,1) "unexpected token" '{' have tried for hours to find it
void OnStart()
{
AddUseItemCallback("", "Awesomekey_1", "doorone", "KeyOnDoor", true);
}
void Keyondoor(string &in asItem, string &in asEntity);
{
SetSwingDoorLocked("doorone", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "doorone", 0, false)
RemoveItem("Awesomekey_1");
}
////////////////////////////
// Run when entering map
void OnEnter ()
{
}
////////////////////////////
// Run when leaving map
void OnLeave ()
{
}
07-12-2012, 03:26 AM
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)