Round başlarken süre bitince GO GO veya Okey lets go telsiz mesajları var bunları nasıl kaldırabiliriz
Zombie Escape round başlarken Telsiz mesajı
)

#include <amxmodx>
#include <fakemeta>
new const g_StartRadioSounds[][] =
{
"radio/com_go.wav",
"radio/go.wav",
"radio/letsgo.wav",
"radio/locknload.wav",
"radio/moveout.wav"
};
new bool:g_RoundStart;
public plugin_init()
{
register_plugin("Block Round Start Sound", "1.0", "hleV");
register_logevent("RoundStart", 2, "1=Round_Start");
register_forward(FM_EmitSound, "EmitSound");
}
public RoundStart()
{
g_RoundStart = true;
set_task(0.5, "RoundStartOver");
}
public RoundStartOver()
g_RoundStart = false;
public EmitSound(ClientID, ChannelID, Sample[])
{
if (!g_RoundStart)
return FMRES_IGNORED;
for (new Sound = 0; Sound < sizeof(g_StartRadioSounds) - 1; Sound++)
if (equal(Sample, g_StartRadioSounds[Sound]))
return FMRES_SUPERCEDE;
return FMRES_IGNORED;
}
(19-05-2021, 22:57)By.KinG Adlı Kullanıcıdan Alıntı:PHP Kod:#include <amxmodx>
#include <fakemeta>
new const g_StartRadioSounds[][] =
{
"radio/com_go.wav",
"radio/go.wav",
"radio/letsgo.wav",
"radio/locknload.wav",
"radio/moveout.wav"
};
new bool:g_RoundStart;
public plugin_init()
{
register_plugin("Block Round Start Sound", "1.0", "hleV");
register_logevent("RoundStart", 2, "1=Round_Start");
register_forward(FM_EmitSound, "EmitSound");
}
public RoundStart()
{
g_RoundStart = true;
set_task(0.5, "RoundStartOver");
}
public RoundStartOver()
g_RoundStart = false;
public EmitSound(ClientID, ChannelID, Sample[])
{
if (!g_RoundStart)
return FMRES_IGNORED;
for (new Sound = 0; Sound < sizeof(g_StartRadioSounds) - 1; Sound++)
if (equal(Sample, g_StartRadioSounds[Sound]))
return FMRES_SUPERCEDE;
return FMRES_IGNORED;
}