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
ERROR: Unexpected end of file
death5657 Offline
Junior Member

Posts: 1
Threads: 0
Joined: Mar 2013
Reputation: 0
#8
RE: ERROR: Unexpected end of file

Hi im stuck to and really don't know what to do can you help me??? all it says main (25,15) : ERR : Expected "{"
hear is my hps file:
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "K_1", "door_1", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_1", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "door_1", 0, false);
RemoveItem("K_1");
}

/////////////////////////////
// Run when entering map
void OnEnter()
{


}

////////////////////////////
// Run when leaving map
void OnLeave()
03-17-2013, 02:38 PM
Find


Messages In This Thread
ERROR: Unexpected end of file - by Wickedwrath - 10-19-2011, 03:08 PM
RE: ERROR: Unexpected end of file - by jens - 10-19-2011, 03:10 PM
RE: ERROR: Unexpected end of file - by jens - 10-19-2011, 03:32 PM
RE: ERROR: Unexpected end of file - by jens - 10-19-2011, 03:36 PM
RE: ERROR: Unexpected end of file - by death5657 - 03-17-2013, 02:38 PM



Users browsing this thread: 1 Guest(s)