Hey I Need Help I joined 2 scripts into Level_01.hps file but if says that (10,1) Unexpected Token and at (15,1) the same WTF? and if someone can fix it can you tell me how to continue with more than 2 scripts thanku
void OnStart()
{
AddEntityCollideCallback("Player", "musicareabasement", "MusicPlay", true, 1);
AddEntityCollideCallback("Player", "basementdoorsmash", "func_slam", true, 1);
}
void MusicPlay(string &in asParent, string &in asChild, int alState);
{
PlayMusic("Music_01.ogg" , true , 10 , 2.0f , 0 , true);
}
void func_slam(string &in asParent, string &in asChild, int alState);
{
SetPropHealth("basementdoor", 0.0f);
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}
/////////////////////////////
First Script is a sound area box script. It worked alone
The Second Script is a door explode script when you enter the area box this worked alone too.