Garry's Mod Wiki

Player:Flashlight

void Player:Flashlight( boolean isOn )

Description

Enables/Disables the player's flashlight

Arguments

1 boolean isOn
Turns the flashlight on/off

Example

Turns off and disables the player's flashlight

Entity( 1 ):Flashlight(false) Entity( 1 ):AllowFlashlight(false)

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 12