Garry's Mod Wiki

Player:SetLastHitGroup

  Player:SetLastHitGroup( number hitgroup )

Description

Sets the hitgroup where the player was last hit.

Arguments

1 number hitgroup
The hitgroup to set as the "last hit", see HITGROUP enum.