View Single Post
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-23-2016 , 23:50   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1727

Quote:
Originally Posted by Rohanlogs View Post
Can I change the wickedsick sound that comes when someone lands a record? I replaced the wickedsick.mp3 file in sounds folder with other sound but same name then restarted server, but the sound in-game did not change.
Because your client has already downloaded the wickedsick.mp3 file, it does not detect change, download & replace it. Instead of giving clients different sounds with the same file name, in cksurf.sp change line 95 from this:

Code:
#define CP_FULL_SOUND_PATH "sound/quake/wickedsick.mp3"
to a different, unique directory/file name, so it does not interfere with any other servers they may play on.

Example:

Code:
#define CP_FULL_SOUND_PATH "sound/custom/damnson.mp3"

Last edited by sneaK; 03-23-2016 at 23:51.
sneaK is offline