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
game crash
Dyloo Offline
Junior Member

Posts: 30
Threads: 3
Joined: Sep 2011
Reputation: 5
#2
RE: game crash

Quote:void OnStart()

{
AddUseItemCallback("", "floortwokey", "mansion_9", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_9", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_9", 0, false);
RemoveItem("floortwokey");
}

void OnEnter()
{

}

void OnLeave()
{

}
Here you are! Always check the ending of each line Smile ( Corrected part is red )

12-11-2011, 10:23 PM
Find


Messages In This Thread
game crash - by aqfitz622 - 12-11-2011, 07:44 PM
RE: game crash - by Dyloo - 12-11-2011, 10:23 PM



Users browsing this thread: 1 Guest(s)