Player:IsIlluminatedByFlashlight(Player, Entity)

server
Check if the player is illuminated by the flashlight.

Arguments

Returns

  • boolean Whether the player is illuminated by the flashlight.
  • number The dot product.

Examples

Player:IsIlluminatedByFlashlight – Check if the player is illuminated by the flashlight.