Garry's Mod Wiki

Player:CanUseFlashlight

boolean Player:CanUseFlashlight()

Description

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

This is not synchronized between clients and server automatically!

Returns

1 boolean
Whether the player can use flashlight.

Page Links


Special Pages


Wikis

?

Render Time: 47ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 25
Render Body 0
Render Sidebar 14