I have some suggestions.
1) Instead of storing for each player if they are dead and then in the get_players for loop checking against that. Just use the flags of get_players to only get dead players. (You can also get just one team for the loop if you wanted to with the get_players() flags)
2) Take the get_cvar_num() out of the get_players for loop. Store it as a variable and use it that way. (Also look into use get_pcvar_num() it works much faster)
3) For your team message use the flags for get_players to only get a certain team
4) Shouldn't
Code:
if(get_cvar_num("sv_DSRmode")==0)
{
g_allowDSR[1] = true
g_allowDSR[2] = true
}
be
Code:
if(get_cvar_num("sv_DSRmode")==0)
{
g_allowDSR[1] = false
g_allowDSR[2] = false
}
5) Thats it for now.