AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Sound Help (https://forums.alliedmods.net/showthread.php?t=13139)

Ced 05-05-2005 20:42

Sound Help
 
Anyone know why a sound would not play even though it was precached and emitted?

v3x 05-05-2005 20:57

Where's teh code? =)

Ced 05-06-2005 00:56

lol, it's not the code, I am just wondering what causes a sound not to play, like if it has to meet certain specifications besides being a .wav

v3x 05-06-2005 01:22

Yea, you might wanna check your volume..

No, jk. :D

LynX 05-06-2005 11:34

Yes, I can't emit sound too... Any help?
I always precache it, make all the needed things, make sure its .wav and half-life supported... Still does not play.

Can some1 post a code snippet which will show you how to play any sound that you can hear it?

teame06 05-06-2005 14:06

Code:
emit_sound(kIndex, CHAN_AUTO, "scientist/scream21.wav", 1.0, ATTN_NORM, 0, PITCH_HIGH)

This is from atac, i always hear it.


All times are GMT -4. The time now is 16:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.