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
Door won't display message!
Imevil23 Offline
Member

Posts: 83
Threads: 23
Joined: Jan 2012
Reputation: 0
#1
Door won't display message!

I've been trying to fix this issue for a good half-hour now. I've just started trying to make a CS and I have forgotten almost everything. I've been looking on the wiki and followed the instructions exactly, but things aren't working out.

Here's the script:

void door(string &in entity)
{
if(GetSwingDoorLocked("Door1") == true)
{
SetMessage("Doors", "locked", 0);
}
}

And the entry and category in the .lang file:

<LANGUAGE>
<CATEGORY Name=“Doors”>
<Entry Name=“locked”>The door appears to be locked.</Entry>
</CATEGORY>
</LANGUAGE>

I've tried a lot, but nothing is working at all. Any help would be greatly appreciated.

(This post was last modified: 08-07-2013, 01:04 AM by Imevil23.)
07-29-2013, 08:29 PM
Find


Messages In This Thread
Door won't display message! - by Imevil23 - 07-29-2013, 08:29 PM
RE: Door won't display message! - by The chaser - 07-29-2013, 09:10 PM
RE: Door won't display message! - by Imevil23 - 07-29-2013, 09:30 PM



Users browsing this thread: 1 Guest(s)