Been trying to build one but csgo just doesn't precache and download for some reason.
Probably because i did it all wrong but ok. I tried using emitsoundtoallany too but doesn't work either.
Tried using abners old round start plugin = sound files still not downloading
Maybe someone can link me or drop me a source for it? Would appreciate it
also, i tried searching all over the net, couldn't actually find a round start plugin than those sp that are either old or don't work at all.
a mini source i hooked somewhere which failed
Code:
#include <sourcemod>
#include <sdktools>
#include <sdktools_sound>
#include <emitsoundany>
#pragma semicolon 1
public OnPluginStart()
{
HookEvent("round_start", Event_RoundStart);
}
public OnMapStart()
{
PrecacheSoundAny("sound/AOT/aot.mp3");
AddFileToDownloadsTable("sound/AOT/aot.mp3");
}
public Action Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
EmitSoundToAllAny("sound/AOT/aot.mp3");
}
__________________