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
Script Help [Solved]-> Key unlocks door ANOTHER WAY ^.-
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#1
[Solved]-> Key unlocks door ANOTHER WAY ^.-

Hi

Spoiler below!
NO IT'S NOT PROBLEM LIKE:HEY I NEED A HELP HOW TO MAKE KEY UNLOCKS DOOR I'M SO STUPID...NO! something else :)

i need a when PLAYER pick up KEY doors unlocks,without using key on any doors

i have a some script here

Spoiler below!


void OnStart()
{
SetEntityPlayerInteractCallback("Key01", "PickKey", true);
}

void PickKey(string &in asEntity, string &in asType)
{
GiveSanityBoostSmall(); //Just a nice little sanity boost
SetSwingDoorLocked("Door01", false, true);
}

so to don't use key just pick it up ok ?

Spoiler below!
Problem:Script doesn't work no errors just don't work...!

(This post was last modified: 05-18-2014, 09:48 PM by Straxedix.)
05-18-2014, 07:55 PM
Find


Messages In This Thread
[Solved]-> Key unlocks door ANOTHER WAY ^.- - by Straxedix - 05-18-2014, 07:55 PM
RE: Key unlocks door ANOTHER WAY ^.- - by Skyy - 05-18-2014, 08:35 PM
RE: Key unlocks door ANOTHER WAY ^.- - by Neelke - 05-18-2014, 08:40 PM
RE: Key unlocks door ANOTHER WAY ^.- - by Skyy - 05-18-2014, 08:57 PM
RE: Key unlocks door ANOTHER WAY ^.- - by Neelke - 05-18-2014, 09:14 PM
RE: Key unlocks door ANOTHER WAY ^.- - by Mudbill - 05-18-2014, 09:45 PM



Users browsing this thread: 1 Guest(s)