OnPlayerDamage Hook

Description

When the player gets damaged
HookReturnCode OnPlayerDamage(CHL2MP_Player@ pAttacker, CHL2MP_Player@ pVictim, float& in flDmg, int& in iDmgBits, int& in iBodyGroup)

Parameters

CHL2MP_Player@ pAttacker

No description available.

CHL2MP_Player@ pVictim

No description available.

float& in flDmg

No description available.

int& in iDmgBits

No description available.

int& in iBodyGroup

No description available.

Hook Register

Events::Damage::OnPlayerDamage.Hook( @OnPlayerDamage );