G510s
Banned
Posts: 58
Threads: 32
Joined: Jun 2014
|
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 |
|