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
m (Replacing {{console variable}}. This operation was performed by a bot.)
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| 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|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.}}

Latest revision as of 08:17, 7 May 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:In Black Mesa Black Mesa doesn't work. Attempt to enable flashlight with ent_fire !player addoutput "effects 4" instantly disable flashlight. Can be fixed with plugins.