[PAID] BetterFlashlight

Yes, I downloaded it straight from keymaster.

im talking about customizating it buddy

You can customize it by changing locales.

That’s what i don’t need you know… i don’t wanna that awfull help notify :smiley: i have own you know

Added a trigger especially for you.

RegisterNetEvent('Betterflashlight:CustomHelpMenu')
AddEventHandler('Betterflashlight:CustomHelpMenu', function(animName, toogleTorch, changeAnim)
  print("Anim Name: "..animName)
  print("Toogle torch button: "..toogleTorch)
  print("Change anim button: "..changeAnim)
end)
1 Like

New update:

I wanted this you know… but if you can’t edit it properly with function, then you can’t just fully edit this

I don’t understand what’s the problem. I added a event where you get all the info needed from the script. Can you please write me a dm with some more info?

Crash is fixed please?

Fixed it two days ago, please redownload the script. To make sure that you updated it look at the version number inside fxmanifest.

1 Like

Hi dear,

Loving the latest update it fixed the sync issue!
However, there are two issues I hope you can look into

  1. Sometimes because of the rot you added for the weapon FLASHLIGHT. when players put down the flashlight and take out a gun the gun is also rotated!
  2. Would love option in config to enable/disable animations. For example disable animation 2 3 4 and keep rest. shouldn’t be that hard to make.

Thanks for the great script. My police are loving it.

Update 1.2.0:

  • Added an option to toogle anims in config
  • Code cleanup

Config:

Config = {}

--Default buttons only change on first join, to change later, change ingame
Config['DefaultToogle'] = 'E'
Config['DefaultChangeAnim'] = 'O'
Config['Locale'] = 'en' -- pl/en
Config['HelpBox'] = true -- true/false
Config['ShowAuthorInHelpBox'] = true -- true/false
Config['KeyMapping'] = true -- true/false (if false use commands 'toogleflash' and 'changeflashanim')
Config['CustomHelpEvent'] = false -- true/false

Config['Anims'] = { -- Toogle anims on/off
    ["PoliceTorchAnim"] = true, -- true/false
    ["SecGuard1Anim"] = true, -- true/false
    ["SecGuard2Anim"] = true, -- true/false
    ["SecGuard3Anim"] = true, -- true/false
    ["SecGuard4Anim"] = true, -- true/false
    ["SecGuard5Anim"] = true, -- true/false
    ["Default"] = true, -- true/false
}

Couldn’t replicate the gun rotation problem.
Added an option to toogle the anim on/off.

It’s a great script. Will you be selling unencrypted versions in the future?

Maybe sometime.

when is there a discount best flashlight script on the forum

Like it

1 Like

am i allowed to rename the resource?

It’s not forbidden, but it would be nice if you left the original name, just to give me some credits.

help?