(03-25-2013, 10:00 AM)Knusper. Wrote: ok, i found the problem, i didnt wrote void MyFunc(string &in asTimer)
I can't see anywhere in your script that you are using a timer, are you sure that that is the problem?
(03-25-2013, 10:00 AM)Knusper. Wrote: Now only At
void FadeOut1(string &in asParent, string &in asChild, int alState)
{
IsInArea = false;
string areanumber2 = StringSub(asChild, 11, 2);
int i1, i2;
i2 = areanumber2[0] *10 + areanumber2[1];
i1 = LastArea[0] *10 + LastArea[1];
if(i1 == i2 - 10)
{
AddDebugMessage("fade", false);
LastArea = areanumber2;
}
}
He sometimes shows the message and sometimes he does not.
Is there any particular reason you need to store the locations like areanumber and LastArea as strings, and not int's?
Did you write all of this script yourself, or has it been copied & pasted from other places?