03-20-2012, 10:44 PM
I feel like this is rather minor to make an entire thread over but I didn't find it anywhere else. Its rather simple what I'm trying to do. If a door is locked and it is interacted with, it displays a message.
if((GetSwingDoorLocked("cellar_wood01_3")==true) && (GetPropIsInteractedWith("cellar_wood01_3")==true))
{
SetMessage("Broke", "Jammed", 3);
}
That script creates no errors, but it does not display the message. I'm 99.99% positive its not a .lang issue either, as all the other messages work. The only thing I could come up with is that I shouldn't use GetPropIsInteractedWith but I don't know what else I could use.
if((GetSwingDoorLocked("cellar_wood01_3")==true) && (GetPropIsInteractedWith("cellar_wood01_3")==true))
{
SetMessage("Broke", "Jammed", 3);
}
That script creates no errors, but it does not display the message. I'm 99.99% positive its not a .lang issue either, as all the other messages work. The only thing I could come up with is that I shouldn't use GetPropIsInteractedWith but I don't know what else I could use.