Garry's Mod Wiki

Player:AllowFlashlight

Player:AllowFlashlight

Player:AllowFlashlight( boolean canFlashlight )

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

1 boolean canFlashlight
True allows flashlight toggling

Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 5
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 7