The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 will now not work
A.I. Offline
Member

Posts: 114
Threads: 16
Joined: Feb 2012
Reputation: 2
#1
Key will now not work

EDIT: I am struggling 20 minutes later with the door not opening I have looked at the script and look at my code looked at just about all the lines of code on the wiki and I still can't figure out what is wrong


void OnStart()
{
AddUseItemCallback("", "corridorkey", "corridordoor", "KeyOnDoor", true);
}

void MyFunc(string &in asName, int alCount)
{
SetSwingDoorLocked("corridordoor", false, true);
PlaySoundAtEntity("", "unlock_door", "corridordoor", 0, false);
RemoveItem("corridorkey");
}
(This post was last modified: 02-15-2012, 06:35 AM by A.I..)
02-15-2012, 03:15 AM
Find


Messages In This Thread
Key will now not work - by A.I. - 02-15-2012, 03:15 AM
RE: 'key' Not Declared - by Obliviator27 - 02-15-2012, 03:21 AM
RE: 'key' Not Declared - by A.I. - 02-15-2012, 03:25 AM
RE: 'key' Not Declared - by Obliviator27 - 02-15-2012, 03:35 AM
RE: 'key' Not Declared - by A.I. - 02-15-2012, 03:39 AM
RE: Key will now not work - by flamez3 - 02-15-2012, 05:40 AM
RE: Key will now not work - by A.I. - 02-15-2012, 06:26 AM
RE: Key will now not work - by flamez3 - 02-15-2012, 06:29 AM
RE: Key will now not work - by A.I. - 02-15-2012, 06:35 AM



Users browsing this thread: 1 Guest(s)