I was wondering how to add a sound effect eg; react_pant, the part i would like the sound is at:
void keyfunc(string &in asEntity, string &in type)
{
SetEntityActive("servant_brute_1",true);`
StartPlayerLookAt("servant_brute_1",15,15,"");
AddTimer("monstertimer",2,"monstertimer");
ShowEnemyPlayerPosition("servant_brute_1");
}
void monstertimer(string &in asTimer)
{
StopPlayerLookAt();
}
i gotta use:
PlayGuiSound("react/react_pant3.ogg",1.0f);
StartScreenShake(0.5f,2,0,0.25);
just not sure were to put them without getting a error, if someone could help that would be great
never mind im a idiot. i had a ' on a line by accident, i dont know how it got there.