well I modified the original ver1.2 of [E]c with no model names since we still didnt sort this out.
1 - added creation of .cfg file.
2- removed |assist showing up when no assist occured (thx to Silvers )
3 - added a cvar to show if a player crownd the witch (one shot killed the witch)
as for the witch damage ... I've been looking around and it seems that the event player_hurt (like its name says) is only for playable classes .. so the related substructure dmg_health doesnt support the damage done to a witch...
1 - one solution is to use infected_hurt infected_death and just some code copying.. but that will make the engine check for every kill made !! that's too much cpu usage.
2 - maybe using SDK HOOKS 2.0 OnTakeDamage but that will bring up major modifications !!
3 - best solution (which may also fix the bug mentioned by Namelessb0i) is to intercept the source engine values calculated in_game like the stats you see on the map change screen (did most damage to tank, did most damage to survivors ..), if we find a way to catch these values. BINGO!
@SilverS here's a hint to avoid duplicated name issues .. check if the victim is a bot then only write its model
if he's a human then write his model next to player's name
GetClientModel(victim, victimModel, sizeof(victimModel));
GetClientAuthString(victim, victimSTEAM, sizeof(victimSTEAM));
if (strcmp(victimSTEAM, "BOT")==0)