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 door message help
G510s Offline
Banned

Posts: 58
Threads: 32
Joined: Jun 2014
#1
door message help

i have 4 doors tat i want a message on those messages are
This Door Cannot be opened
This Door Cannot be opened
This Door Cannot be opened
and the last message is
i need to find a key for this door.
the 3 doors that are suppose to have the message "This Door Cannot be opened" are showing the message "I need to find a key for this door"
--------------------------------------------------------------------------------------
<CATEGORY Name="Sign">

<Entry Name="msgname_01">This door cannot be opened.</Entry>

<Entry Name="msgname_02">This door cannot be opened.</Entry>

<Entry Name="msgname_03">This door cannot be opened.</Entry>

<Entry Name="msgname_04">I need to find a key to open this door.</Entry>

</CATEGORY>

----------------------
this is the lang file
--------------------------------------------------------------------------------------

void DoorLockedPlayer(string &in entity)
{

GetSwingDoorLocked("Locked_01");
SetMessage("Sign", "msgname_01", 0);

GetSwingDoorLocked("Locked_02");
SetMessage("Sign", "msgname_02", 0);

GetSwingDoorLocked("Locked_03");
SetMessage("Sign", "msgname_03", 0);

GetSwingDoorLocked("Locked_04");
SetMessage("Sign", "msgname_04", 0);


}
-----------------------
this is the hps file
--------------------------------------------------------------------------------------

so basically the only door that is showing the right message is Locked_04
07-11-2014, 12:30 AM
Find


Messages In This Thread
door message help - by G510s - 07-11-2014, 12:30 AM
RE: door message help - by Neelke - 07-11-2014, 01:24 AM
RE: door message help - by Mudbill - 07-11-2014, 06:14 AM



Users browsing this thread: 1 Guest(s)