WEAPON:DoImpactEffect
Description
Called so the weapon can override the impact effects it makes.
If the bullet was fired in a predicted environment, the hook will not be called on the
CLIENT realm.This hook will also be called when
WEAPON:GetOwner():FireBullets is called. While in MULTIPLAYER, this hook will be called on the respective state, but in SINGLEPLAYER, this hook will always be called on the CLIENT realm even if FireBullets was called on the SERVER.Arguments
Returns
Example
Makes the SWEP have the AR2 bullet impact effect.
Garry's Mod
Rust
Steamworks
Wiki Help