Thread
:
run mp3 sound by command and stop by command
View Single Post
PC Gamer
Veteran Member
Join Date: Mar 2014
06-05-2019 , 12:59 Re: run mp3 sound by command and stop by command
#
4
For some reason the stop didn't work for me on my TF2 Server until I changed a line of code.
Changed from: StopSound(i, -1, "misc/sound.mp3");
Changed to: StopSound(i, SNDCHAN_AUTO, "misc/sound.mp3");
Now it works fine. Thanks Pilo!
PC Gamer
View Public Profile
Send a private message to PC Gamer
Find More Posts by PC Gamer