Hello,
I got the scripts here:
https://forum.game-guru.com/thread/214886#msg2544112
Everything works fine except collecting the battery.
When I go near the battery to collect I get an error:
"scriptbank\Belidos\FlashLightBattery\flashlight_battery.lua:21: attempt to compare nil with number"
Instructions:
1. put flashlight3.lua on a not static item (make it always active).
2. put collect_flashlight2.lua on the item you want to collect (make sure it's not static).
3. flashlight_battery.lua goes on the batteries,(make sure the battery is not static).
Job done, it will supress the flashlight until you collect the item.
Press F to use the flashlight once you have collected it, and hold press and hold F to load a battery."
------------------