Sure, no problem so, here's the solution :
public Plugin:myinfo =
name = "[TF2] Death rocket",
author = "Walgrim",
description = "Set the death as a deflected critical rocket.",
version = "1.0"
HookEvent("player_death", OnPlayerDeath, EventHookMode_Pre);
public Action:OnPlayerDeath(Handle:hEvent, String:strEventName, bool:bDontBroadcast)
//Find the dead client
new iVictim = GetClientOfUserId(GetEventInt(hEvent, "userid"));
//If this client die
//Here we set the hEvent death as a deflected rocket
SetEventString(hEvent, "weapon", "deflect_rocket");
//Here I set customkill because otherwise it won't take kills like headshots and all
SetEventString(hEvent, "customkill", "deflect_rocket");
//And here I just added on the hEvent the crits on it -> leave it if you don't want it
SetEventInt(hEvent, "damagebits", DMG_CRIT);
So yeah I made little plugin for it, to get the type of kills as "deflect_rocket" just see your console. (client side).
Hope it will help !
I let an attachment for people who wants to try it, I tested it and it worked.