|
Author
|
Message
|
|
Member
Join Date: Dec 2006
Location: Hannover/Germany
|

11-17-2007
, 07:08
Stop sound at round end
|
#1
|
Quote:
#include <amxmodx>
new sound[] = "misc/jepsound.wav";
public plugin_init()
{
register_plugin("Jeopardy Bomb","0.1","SweatyBanana");
register_logevent("f_planted", 3, "2=Planted_The_Bomb");
}
public f_planted()
{
new Players[32], Num, i;
get_players(Players, Num);
for(i = 0; i <= Num; i++)
{
new j = Players[i];
client_cmd(j,"spk %s",sound);
}
}
public plugin_precache()
{
precache_sound(sound);
}
|
Hi,
i want to code this that the sound stops at round end. This coding stops the sound at bomb explosion or defusing but not when all T/CT died before.
Can someone help?
|
|
|
|