GM:PlayerSwitchFlashlight
Description
Called whenever a player attempts to either turn on or off their flashlight, returning false will deny the change.
Also gets called when using Player:Flashlight.
Arguments
Returns
Example
Only allow the flashlight for admins, you can also use Player:AllowFlashlight for that.