Player/CanUseFlashlight

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

Description

Returns true if the player's flashlight hasn't been disabled by Player:AllowFlashlight.

NOTE

This is not synchronized between clients and server automatically!

Returns

boolean

Whether the player can use flashlight.
Personal tools
Navigation