OnPlayerInfected Hook

Description

When the player gets infected
HookReturnCode OnPlayerInfected(CBasePlayer@ pPlayer, bool& in bIsCompleted)

Parameters

CBasePlayer@ pPlayer

The infected player

bool& in bIsCompleted

The infection status

Hook Register

Events::Player::OnPlayerInfected.Hook( @OnPlayerInfected );