Garry's Mod Wiki

Garry's Mod Wiki

  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:GetOwner():MuzzleFlash() -- Crappy muzzle light self:GetOwner():SetAnimation( PLAYER_ATTACK1 ) -- 3rd Person Animation end

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...