I used olj's version, but changed it a little to show a message when oneshot is false. So the person knows for sure they didn't get the crown.
Code:
public Action:EventWitchDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
new killer = GetClientOfUserId(GetEventInt(event, "userid"));
if (!IsValidClient(killer)) return;
decl String:killername[MAX_NAME_LENGTH];
GetClientName(killer, killername, MAX_NAME_LENGTH);
if (GetEventBool(event, "oneshot"))
{
PrintToChatAll("\x03%s \x04CROWNED the witch!", killername);
}
else
{
PrintToChatAll("\x03%s \x04has \x03FAILED \x04to crown the witch!", killername);
}
}
Of course you still get the failed message when you weren't trying to crown. Such as when a teammate startles the witch, gets incapped, and you unload into the witch before she shreds the other guy. Not really trying to crown, just kill quickly. Ohh well.
I'm about 95% for a true crown. On advanced and lower, I only use 1 shell anyway. On expert, I may click-spam if I'm not super confident at the time. With this plugin I can still tell if I did crown or not.
Thanks again.