Garry's Mod Wiki

Player:AllowFlashlight

void 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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 11
Render Body 0
Render Sidebar 11