banner
Rating
Voted0

Best Flashlight Mod

2
Mod version:all
Game version:all
The mod has been successfully tested for the absence of viruses
3082.46K101.13K

Report mod

  • image
modalImage

About This Mod

Description: Instead of calling the Player:FlashlightIsOn() function, it is recommended to use Player:GetNWBool("FlashlightIsOn"). The Player:FlashlightIsOn() function will always return false if the user has enabled this add-on.


This add-on takes into account the Player:CanUseFlashlight() method and fires a PlayerSwitchFlashlight event to see if the player can turn the flashlight on or off.


As for the soundtrack, the add-on does not use or add custom sounds, but uses standard HL2 sound scripts: "HL2Player.FlashLightOn" and "HL2Player.FlashLightOff", so basic sound replacements must function correctly.


Client Console Variables:

First Name

Default

Purpose

Similar Mods/Addons

Game Version *

all (3426767880_Better_Flashlight.zip)