You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1435,6 +1437,54 @@ public Action Client_OnTakeDamageAlive(int victim, int &attacker, int &inflictor
1435
1437
returnfinalAction;
1436
1438
}
1437
1439
1440
+
publicActionClient_OnTakeDamage(intvictim, int &attacker, int &inflictor, float &damage, int &damagetype, int &weapon, floatdamageForce[3], floatdamagePosition[3], intdamagecustom)
1441
+
{
1442
+
if (!g_bEnabled) returnPlugin_Continue;
1443
+
if (g_iTotalRoundPlayed<=0) returnPlugin_Continue;
1444
+
1445
+
if (SaxtonHale_IsValidAttack(attacker) &&weapon!=INVALID_ENT_REFERENCE&&HasEntProp(weapon, Prop_Send, "m_iItemDefinitionIndex"))
0 commit comments