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
Expected Identifier Error
bkrstirregular Offline
Junior Member

Posts: 17
Threads: 2
Joined: May 2012
Reputation: 0
#1
Expected Identifier Error

I think I'll be making a lot of these tonight..I'm getting so frustrated with coding that I want to pull my hair out ;_;

//AddUseItemCallback
AddUseItemCallback("", "Key_1", "firstdoor1", "UsedKeyOnDoor", true);
{
void UsedKeyOnDoor(string &in asItem, string &in asEntity){
SetSwingDoorLocked("firstdoor1", false, true);
PlaySoundAtEntity("", "unlock_door", "firstdoor1", 0, false);
RemoveItem("Key_1");
}


Can someone tell me what I've done wrong here?

05-02-2012, 02:18 AM
Find Reply


Messages In This Thread
Expected Identifier Error - by bkrstirregular - 05-02-2012, 02:18 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 02:47 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 03:03 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 03:08 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 03:11 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 03:42 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 03:46 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 03:51 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 03:55 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 04:04 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 04:06 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 05:01 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 05:16 AM
RE: Expected Identifier Error - by Cranky Old Man - 05-02-2012, 05:50 AM
RE: Expected Identifier Error - by bkrstirregular - 05-02-2012, 05:56 AM



Users browsing this thread: 1 Guest(s)