Part of StarfallEx namespace
๐ External
hook.add("PlayerSwitchFlashlight", "name", function(ply, state) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when a players turns their flashlight on or off
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | Player switching flashlight |
state | boolean | New flashlight state. True if on. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.