maybe in this way?
PHP Code:
#pragma semicolon 1
#pragma newdecls required
#include <sdktools_gamerules>
#include <sdktools_sound>
#include <sdktools_stringtables>
static const char
SND[] = "sound/quake/prepare.mp3";
public void OnPluginStart()
{
HookEvent("round_freeze_end", Event_Round);
}
public void OnMapStart()
{
PrecacheSound(SND[6]);
AddFileToDownloadsTable(SND);
}
public void Event_Round(Event event, const char[] name, bool dontBroadcast)
{
if(!GameRules_GetProp("m_bWarmupPeriod")) EmitSoundToAll(SND[6]);
}
__________________