(09-21-2012, 03:22 PM)Nemet Robert Wrote: It won't show until you properly check for quotation marks and everything. There's a tiny mistake in there. Otherwise, post the lang file as an attachment. I'll fix that.
Thanks, there was a "<zEntry> because I was typing fast
But again *sigh* Messages don't work.
Door name is Study, PlayerInteractCallback name is NoCrowbar
void OnStart()
{
SetEntityPlayerInteractCallback("NoCrowbar", "Hint1", true);
}
void Hint1 (string &in asEntity)
{
if(GetLocalVarInt("MessageSet") != 1)
{
SetMessage("Messages", "HintDoor", 4.0f);
SetLocalVarInt("MessageSet", 1);
}
}
///////////// Lang file ///////////////////
<CATEGORY NAME="Messages">
<Entry Name="HintDoor">Text here</Entry>
</CATEGORY>
The same door is opened by a Key, and that script works fine. It's this script I'm having trouble with. Any suggestions?