View Single Post
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 10-25-2018 , 22:12   Re: |CSGO| Custom Join-Message-Sound by Steamid
Reply With Quote #6

Quote:
Originally Posted by Azet View Post
How do I precache sound? With sm_downloader plugin?
If you know you are going to use just this file then you can also add it right away to downloadtable when compiling plugin.
Code:
public OnMapStart()
{
	AddFileToDownloadsTable("sound/hello.wav");
        AddFileToDownloadsTable("sound/hello2.wav");
}
If not then use
https://forums.alliedmods.net/showthread.php?p=2482443

Last edited by HvG Community; 10-25-2018 at 22:13.
HvG Community is offline