Garry's Mod Wiki

WEAPON:ShootEffects

  WEAPON:ShootEffects()

Description

A convenience function to create shoot effects.

Example

As defined in weapon_base

function SWEP:ShootEffects() self.Weapon:SendWeaponAnim( ACT_VM_PRIMARYATTACK ) -- View model animation self.Owner:MuzzleFlash() -- Crappy muzzle light self.Owner:SetAnimation( PLAYER_ATTACK1 ) -- 3rd Person Animation end