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

Mp flashlight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
''mp_flashlight'' enables/disables the flashlight in multiplayer.<br>
''mp_flashlight'' enables/disables the flashlight in multiplayer.<br>
{{Note| Syntax:<br>mp_flashlight ''<boolean>''}}
{{Note| Syntax:<br>mp_flashlight ''<boolean>''}}
{{bug|hidetested=1|In {{bms|4}} doesn't work. Attempt to enable flashlight with <code>ent_fire !player addoutput "effects 4"</code> instantly disable flashlight. Can be fixed with plugins.}}
{{bug|hidetested=1|Always disabled in {{bms|4}} due to unknown crash that happens for most clients when killer kills victim. Attempt to enable flashlight with <code>"effects 4"</code> will instantly disable flashlight.}}

Revision as of 06:19, 27 October 2025

mp_flashlight is a console variable available in all Source Source games. mp_flashlight enables/disables the flashlight in multiplayer.

Note.pngNote: Syntax:
mp_flashlight <boolean>
Icon-Bug.pngBug:Always disabled in Black Mesa Black Mesa due to unknown crash that happens for most clients when killer kills victim. Attempt to enable flashlight with "effects 4" will instantly disable flashlight.