Player/Flashlight

From Garry's Mod
Jump to: navigation, search
 Player:Flashlight( )

Contents

Description

Enables/Disables the player's flashlight

Arguments

boolean isOn

Turns the flashlight on/off

Examples

Example

Turns off and disables the player's flashlight

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


Personal tools
Navigation