When a smoker begins to drag, this code?
Code:
new inflictor = GetPlayerWeaponSlot(Smoker, 3); // You need to replace 3 with the knife slot, no clue which slot is the knife so you gotta try all 5 slots until you locate it.
if(inflictor != -1)
{
new Health = GetEntProp(DragVictim, Prop_Send, "m_iHealth");
SetEntityHealth(DragVictim, Health + 1);
SDKHooks_TakeDamage(DragVictim, inflictor, Smoker, 1.0);
}
Didn't even try to compile so tell me if everything works, you need to include sdkhooks.
__________________
I am available to make plugins for pay.
Discord: Eyal282#1334