Thread: [Solved] SVC_STOPSOUND message
View Single Post
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 11-22-2022 , 14:16   Re: SVC_STOPSOUND message
Reply With Quote #6

Quote:
Originally Posted by Celena Luna View Post
Stop sound will stop all sound currently playing on the client
So depend what you need, it could be bad if you just want to silent 1 entity
You only stop it when the client enters the server, it will only stop the ambient sound, because the client at that moment will not be playing any other sound

Quote:
Originally Posted by damage220 View Post
And indeed it works. It is how I currently stop ambient sound. I just assumed that this command triggers procedure:
1. Server sends "stopsound" to client
2. Client executes the command telling the server to stop the sound
3. Server stops the sound for the client

And so I decided to optimize the process. Does it make sense or the command need no server to stop the sound? I mean is it fully client side command with no further server communication?

and for this, the ambient sound is independent of each user/client

Last edited by MrPickles; 11-22-2022 at 14:16.
MrPickles is offline