Quote:
Originally Posted by Silencer123
spk is not "perfectly ok" because it will print you an error message.
|
Spk will only print an error message if the wav format is not pcm.
The audio format must be exactly what is accepted by the hl engine.
If your using spk and it gives you an error message....check your sound file and learn to alter it accordingly.
And then this:
Code:
new Str[64]
format(Str,63,"spk %s",g_szHeSound)
client_cmd(0,Str)
Should work better like this
Code:
new Str[64]
format(Str,63,"%s", g_szHeSound)
client_cmd(0, "spk %s", Str)