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

Page Links


Special Pages


Wikis

?

Render Time: 72ms

DB GetPage 51
Generate Html 0
SaveChanges (1) 12
Render Body 0
Render Sidebar 6