GM:PostEntityFireBullets
Description
Called every time a bullet pellet is fired from an entity.
This hook is called directly from Entity:FireBullets. Due to this, you cannot call Entity:FireBullets inside this hook or an infinite loop will occur crashing the game.
Arguments
2 table data
The bullet data. Contains the following keys:
- table Trace - The bullet pellet trace result. See TraceResult structure
From Bullet structure:
AmmoType
,Tracer
,Damage
,Force
,Attacker
,TracerName
.