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
I'm probably missing something but this door won't unlock
liamthespy Offline
Junior Member

Posts: 26
Threads: 10
Joined: Jun 2012
Reputation: 0
#1
I'm probably missing something but this door won't unlock

AddUseItemCallback("", "kitchenkey", "kitchendoor", "Kitopen", true);
}

void kitopen(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("kitchendoor", false, true);
PlaySoundAtEntity("", "unlock_door", "kitchendoor", 0, false);
}

I've checked over the syntax and the names like 100 times, what am I missing? it's just a simple key-opens-door situation and I've done it a million times, why is this not working?
06-18-2012, 02:36 PM
Find


Messages In This Thread
I'm probably missing something but this door won't unlock - by liamthespy - 06-18-2012, 02:36 PM



Users browsing this thread: 1 Guest(s)