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
Can't make an unlockable door
1402News Offline
Junior Member

Posts: 4
Threads: 1
Joined: Jan 2018
Reputation: 0
#1
Can't make an unlockable door

I've been trying all the solutions I can but nothing works! Here's my script.

void OnStart()
{
AddUseItemCallback("", "CSBedroomKey", "CSBedroomDoor", "UseKeyOnCSBedroomDoor", true);
}
void FUNCTION(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);
PlaySoundAtEntity("", "unlock_door", asEntity, 0, false);
RemoveItem(asItem);
}
01-22-2018, 06:55 AM
Find


Messages In This Thread
Can't make an unlockable door - by 1402News - 01-22-2018, 06:55 AM
RE: Can't make an unlockable door - by Romulator - 01-22-2018, 06:17 PM
RE: Can't make an unlockable door - by 1402News - 01-23-2018, 01:13 AM
RE: Can't make an unlockable door - by 1402News - 01-23-2018, 04:27 PM
RE: Can't make an unlockable door - by Neelke - 01-26-2018, 11:45 AM
RE: Can't make an unlockable door - by Mudbill - 01-24-2018, 10:29 PM
RE: Can't make an unlockable door - by Mudbill - 01-27-2018, 01:12 AM



Users browsing this thread: 2 Guest(s)