This article's documentation is for anything that uses the Source engine. Click here for more information.

mp_flashlight

From Valve Developer Community
Jump to navigation Jump to search

mp_flashlight is a console variable available in all Source Source games. It toggles use of the flashlight in multiplayer.

Note.pngNote: Syntax:
mp_flashlight <boolean>

Defaults to 1 in Counter-Strike: Source Counter-Strike: Source and Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series, and 0 in most other games.

Icon-Bug.pngBug:Always disabled in Black Mesa Black Mesa due to unknown crash that happens when killer kills victim after spec_freeze_traveltime. Attempt to enable flashlight with "effects 4" will instantly disable flashlight.
PlacementTip.pngWorkaround:Not using observe mode 2 and 3 will prevent the crash.