I got an exec :
And a code to play the sound..
But it doesnt play my sound .. whats wrong ?
I got this from a 3dbuzz.com VTM, and it works there ..
Code:
#EXEC AUDIO IMPORT FILE="Sounds/gaan.wav" NAME="go"
And a code to play the sound..
Code:
Function BuyTime(bool s)
{
Local Pawn p;
foreach AllActors(class'Pawn', p)
{
if(!s)
{
p.GroundSpeed = 300;
PlaySound(Sound'go');
}
else if(s)
{
p.GroundSpeed = 1;
}
}
}
But it doesnt play my sound .. whats wrong ?
I got this from a 3dbuzz.com VTM, and it works there ..