02-12-2012, 12:05 AM
Code:
void ScreenShake(string &in asChild, string &in asParent, int alState)
{
StartScreenShake(5, 5, 2, 3);
PlaySoundAtEntity("03_break_wall.ogg", "03_break_wall.snt", "level_celler_1", "1", false);
}
That's my code. I get an error:
Code:
No matching signatures to PlaySoundAtEntity(string@&, string@&, string@&, string@&, const bool)
every time I enter the level the script is in.