Revision Difference
Player:AllowFlashlight#546598
<function name="AllowFlashlight" parent="Player" type="classfunc">
<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.</description>
<description>Sets if the player can toggle their flashlight. Function exists on both the server and client but has no effect when ran on the client.</description>
<realm>Shared</realm>
<file line="211">lua/includes/extensions/player.lua</file>
<args>
<arg name="canFlashlight" type="boolean">True allows flashlight toggling</arg>
</args>
</function>