Garry's Mod Wiki

Garry's Mod Wiki

  render.PushFlashlightMode( boolean enable = false )

Description

Enables the flashlight projection for the upcoming rendering.

We advise against using this. It may be changed or removed in a future update. This will leave models lit under specific conditions. You should use render.RenderFlashlights which is meant as a direct replacement for this function.

Arguments

1 boolean enable = false
Whether the flashlight mode should be enabled or disabled.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...