Quote:
Originally Posted by dejan
if you want to play the sound for everybody set index to 0
if you want to config emit_sound how you want it click Here
|
I don't think that's correct. The first parameter is the index of an entity the sound should come from, if it's 0, the server will most likely crash or you'll get an error in the log. If you want to play it for everyone, use the client command
spk or find an entity that could be used for this.
Quote:
|
Fine enough.. but as a final to this call of help. I would like to know why [spk] command doesn't apply the volume parameter, if anyone knows? and why emit_sound is better in the situation of emitting rain ambience sound is better than spk?
|
The spk command plays a sound for the player, it uses the volume from their settings. emit_sound is not better for such things overall - first off if this sound wasn't already precached, you'd have to use precache_sound instead of precache_generic and more easily fill up your 512 precache limit. spk also allows the clients to stop the sound by using the stopsound command - you should select which to use while taking these two facts in mind.