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
Key On Door Error
jmayo Offline
Junior Member

Posts: 16
Threads: 6
Joined: Sep 2011
Reputation: 0
#12
RE: [Help!]Key On Door Error

Forgot That One Last *

[Image: errorwo.png]


////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "Prisonkey_1", "prison_1", "usedkeyondoor", true);
}
void keyondoor(string &in asItem, string &in asEntity)
{
Setswingdoorlocked("prison_1", false, true);
Playsoundatentity("", "unlock_door", "prison_1", 0, false);
Removeitem("Prisonkey_1");
}
////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
(This post was last modified: 10-05-2011, 07:35 PM by jmayo.)
10-05-2011, 07:30 PM
Find


Messages In This Thread
Key On Door Error - by jmayo - 10-05-2011, 06:43 PM
RE: [Help!]Key On Door Error - by Khyrpa - 10-05-2011, 06:48 PM
RE: [Help!]Key On Door Error - by Elven - 10-05-2011, 06:50 PM
RE: [Help!]Key On Door Error - by jmayo - 10-05-2011, 06:52 PM
RE: [Help!]Key On Door Error - by Your Computer - 10-05-2011, 07:03 PM
RE: [Help!]Key On Door Error - by jmayo - 10-05-2011, 07:20 PM
RE: [Help!]Key On Door Error - by Your Computer - 10-05-2011, 07:24 PM
RE: [Help!]Key On Door Error - by Elven - 10-05-2011, 07:01 PM
RE: [Help!]Key On Door Error - by Elven - 10-05-2011, 07:09 PM
RE: [Help!]Key On Door Error - by jmayo - 10-05-2011, 07:24 PM
RE: [Help!]Key On Door Error - by Elven - 10-05-2011, 07:28 PM
RE: [Help!]Key On Door Error - by jmayo - 10-05-2011, 07:30 PM
RE: [Help!]Key On Door Error - by Your Computer - 10-05-2011, 07:38 PM
RE: [Help!]Key On Door Error - by Obliviator27 - 10-05-2011, 07:41 PM
RE: [Help!]Key On Door Error - by jmayo - 10-05-2011, 07:47 PM
RE: Key On Door Error - by schmupper - 10-05-2011, 09:16 PM



Users browsing this thread: 1 Guest(s)