Player/AllowFlashlight

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

Description

Sets if the player can toggle his flashlight. Function exists on both the server and client but has no effect when ran on the client.

Arguments

boolean canFlashlight

True allows flashlight toggling
Personal tools
Navigation