Defines the cw_flashlight weapon, a fist-held flashlight whose primary fire toggles the owner's flashlight.
Summary
Methods
PrimaryAttack()shared
Toggles the owner's flashlight on the server.
SecondaryAttack()shared
Does nothing; the flashlight has no secondary fire.
Methods
SWEP:PrimaryAttack()
shared gamemodes/cwhl2rp/plugins/flashlight/plugin/entities/weapons/cw_flashlight/shared.lua:58Toggles the owner's flashlight on the server.
SWEP:SecondaryAttack()
shared gamemodes/cwhl2rp/plugins/flashlight/plugin/entities/weapons/cw_flashlight/shared.lua:69Does nothing; the flashlight has no secondary fire.