Well i wanted my messenger to lock when messenger starts. So i wanted to make the script myself and then see if i could do it
(it's really easy with the doc's after you read it).
So i manged to get to this:
code:
function OnEvent_Initialize(MessengerStart)
{
LockMessenger
true; Lock
);
}
function OnEvent_Uninitialize(MessengerExit)
{
}
But somethings wrong with line 5? I don't seem to notice what it is.
Can anyone help by
explaining what's wrong as well has telling me whats wrong. It's a syntax error that was like that in the doc.
Also, can boolean be only true or false?