Frictional Games Forum (read-only)

Full Version: [SOLVED] My script looks fine, but it gives me what looks like a syntax error?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
void OnStart()
{
   AddTimer("CreepyMusic", 0, "CreepyMusic");
}
void CreepyMusic(string &in asTimer)
{
   PlayMusic(01_amb_darkness.ogg, true, 7, 3, 0, bool abResume);
}


Or do I need to add different functions?
PlayMusic("01_amb_darkness.ogg", true, 7, 3, 0, true or false if you want to resume true otherwise false);
Knew it was something dumb xP

Thank you.