SlashCo Wiki

Player:SetCanSeeFlashlights

  Player:SetCanSeeFlashlights( boolean state )

Description

Sets whether the player can see flashlights.
The value is stored using the SlashCoSeeFlashlights networked boolean.
Item and slasher overrides may still take precedence when using Player:CanSeeFlashlights.

Arguments

1boolean state

Whether the player should be able to see flashlights