Gamemode.PlayerSwitchFlashlight
From GMod Wiki
Event Hook | |
Hook Name | PlayerSwitchFlashlight |
Syntax | GM:PlayerSwitchFlashlight( Player ply, Boolean SwitchOn ) |
Description | Called when a player uses their flashlight. |
Returns | Whether the player can use their flashlight. |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerSwitchFlashlight]Gamemode.PlayerSwitchFlashlight [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples