I have a small Request/Suggestion. Could you add in the functionality to disallow hurting other players inside a func_respawnroom while you are also in a func_respawn room? I know you commented in the source it was not needed, but two of my friends asked me if this was an option. They want run a trade server with friendly fire on but not have it just be a spawn bloodbath. It would also help for those trade maps like trade_plaza where you can snipe spawn to spawn.
I actually had a go myself, just adding this to it, but it prevents even self-damage in spawn and I have not the skills to fix it.
if (IsInSpawn[victim] && IsInSpawn[attacker])
if (g_fDamageOutsideSpawn == 0.0)
damage = 0.0;
damage = damage * g_fDamageOutsideSpawn;