(05-03-2013, 01:22 PM)The chaser Wrote: void OnStart()
{
////Monsters appear
PlaySoundAtEntity("Thenameofyoursound", "Player", 0.1, false);
AddEntityCollideCallback("Player", "EndingArea", "Stahp", true, 1);
}
void Stahp (string &in asParent, string &in asChild, int alState)
{
StopSound("Thenameofyoursound", 0.1);
///Yourcredits and other
}
Oh my god, use this one, I writed "tue" instead "true".
No, that's not the mistake. I actually fixed it up at the first one, and it still didn't work....
I don't think there's mistake in this script, I think it has to be different script or something....