Thread: [Solved] SVC_STOPSOUND message
View Single Post
Author Message
damage220
Member
Join Date: Jul 2022
Location: Ukraine
Old 11-21-2022 , 22:21   SVC_STOPSOUND message
Reply With Quote #1

How should I use this message? I cannot get it to work.
PHP Code:
message_begin(MSG_ONESVC_STOPSOUND, {000}, pid);
write_short(pid);
message_end(); 
According to the doc:
Quote:
SVC_STOPSOUND
Stops an ambient sound.

Name: SVC_STOPSOUND
Structure: short EntityIndex
Am I correct to think that this is server side alternative to "stopsound" console command?

Last edited by damage220; 11-29-2022 at 11:22.
damage220 is offline