07-29-2013, 08:29 PM
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.
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.