Code:
public Action:event_round_end(Handle:event, const String:name[], bool:dontBroadcast)
{
decl String:sound[512];
RoundCount++;
if(!Enabled)
{
return Plugin_Continue;
}
executed=false;
new bool:bossWin=false;
if((GetEventInt(event, "team")==BossTeam))
{
if(RandomSound("sound_win", sound, PLATFORM_MAX_PATH))
{
EmitSoundToAllExcept(SOUNDEXCEPT_VOICE, sound, _, _, SNDLEVEL_TRAFFIC, SND_NOFLAGS, SNDVOL_NORMAL, 100, Boss[0], _, NULL_VECTOR, false, 0.0);
EmitSoundToAllExcept(SOUNDEXCEPT_VOICE, sound, _, _, SNDLEVEL_TRAFFIC, SND_NOFLAGS, SNDVOL_NORMAL, 100, Boss[0], _, NULL_VECTOR, false, 0.0);
}
}
Native_StopMusic(INVALID_HANDLE, 0);
if(MusicTimer!=INVALID_HANDLE)
{
KillTimer(MusicTimer);
MusicTimer=INVALID_HANDLE;
}
new BossIsAlive=0;
for(new client=0; client<=MaxClients; client++)
{
if(IsValidClient(client) && IsPlayerAlive(Boss[client]))
The last line right there is causing error, line 1966
It is preventing the adding of queue points for freak fortress 2. Anyone else having this issue?
__________________