A simple FiveM script to enable the functionality of having persistent flashlight being turned on or off even while not aiming them.
- Download the most recent
.zip
file/archive from the releases page. - Extract the contents to your
server-data/resources/
directory. - Ensure you've added the following to your
server.cfg
file:
start persistent-flashlight
- If you have any questions about the script feel free to contact me on Discord:
Melodic#9770
, create an issue in the repository, or ask in the FiveM Forum.
- The script is very minimal and as such should have no hit on performance.
- It only utilizes
0.01ms
of cpu, and in addition uses garbage collection for the memory so that also stays very low.
- Fixed typos
- Initial script