Signature
native rg_fire_buckshots(const inflictor, const attacker, const shots, Float:vecSrc[3], Float:vecDirShooting[3], Float:vecSpread[3], const Float:flDistance, const iTracerFreq, const iDamage);
Description
Fires buckshots from entity (used at XM1014 and M3 weapons).
Notes
- This native doesn't create a decal effect
- Decal creation is handled by PlaybackEvent, including shot animation and shot sound
Parameters
- inflictor — Inflictor is the entity that caused the damage (such as a gun)
- attacker — Attacker is the entity that triggered the damage (such as the gun's owner)
- shots — The number of shots
- vecSrc — The source position of the barrel
- vecDirShooting — Shooting direction
- vecSpread — Spread
- flDistance — Max shot distance
- iTracerFreq — Tracer frequency
- iDamage — Damage amount
No return value