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 to add message to a locked swing door
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#6
RE: Script to add message to a locked swing door

(02-04-2012, 12:58 PM)Ninami Wrote: Yeah I did this recently:

SetEntityPlayerInteractCallback("Door_1", "LockedDoor", false);
void LockedDoor(string &in asEntity)    {        if(GetSwingDoorLocked("Door_1") == true)        {            SetMessage("Messages", "DoorLocked", 2);        }    }


But it wont work, it doesn't show any message, I think something else is wrong.
and use my script for the door instead of the one you wrote because GetSwingDoorLocked isn't working


02-04-2012, 01:04 PM
Find


Messages In This Thread
RE: Script to add message to a locked swing door - by SilentStriker - 02-04-2012, 01:04 PM



Users browsing this thread: 3 Guest(s)