Description
This lightweight lua script lets you make the headlights on any car flash! Realistic high beams, without glitching or resetting your vehicleβs headlights stock settings. fully compatible with custom Add-On cars and emergency vehicles!
Keys buttons for Flashing lights [customizable]
Keyboard= Q
Controller= R1/RB
IMPORTANT REQUIREMENTS:
This mod requires:
- The LUA Plugin
- Script Hook V to be installed in your game.
INSTALLATION INSTRUCTIONS:
- Navigate to your main Grand Theft Auto V directory.
- Locate the scripts folder and open the addins subfolder.
- Path layout: Grand Theft Auto V /scripts / addins /
- Place your flashinghighlights.lua file directly inside that folder:
- scripts / addins / (put here flashinghighlights.lua)
- Launch the game, step into your favorite vehicle, and enjoy realistic flashing highlights with (Q) or (RB/R1)!
How to Customize Controls (Keyboard & Controller)
If you want to change the binding keys, you can easily edit the flashinghighlights.lua file using any text editor like Notepad.
Open the file and look for this specific section:
- Double Input Check: Triggered via βQβ on Keyboard OR βRBβ (Control 44) on Controller:βif(get key pressed(Keys.Q) or CONTROLS.IS CONTROL PRESSED(2, 44))thenβ
To change the Keyboard Key Replace
β(Keys.Q)β with your preferred letter (e.g., Keys.B, Keys.E, etc.).
To change the Controller Button replace the number 44 inside:
β(2, 44)β with any ID from the official GTA 5 Gamepad Control.
Xbox / PlayStation Controller Button ID Table:
Button Name Control ID
LB / L1 βββ-> 68
RB / R1 βββ> 44 or 76
B / CIRCLE β-> 58 or 80
A / CROSS ββ> 73
X / SQUARE β-> 22
Y / TRIANGLE β>75
L3 ββββββ> 86
R3 ββββββ> 79
D-PAD UP ββ-> 188
D-PAD DOWN β> 187
D-PAD LEFT ββ> 85
D-PAD RIGHT β> 74
===============================================
IMPORTANT NOTE FOR CONTROLLER USERS (INPUT ID COMPATIBILITY)
===============================================
If the controller buttons (such as LB, D-Pad Up, or D-Pad Down) do not respond
or appear to be inverted/swapped, it is due to out-of-date script hooks.
To ensure correct button alignment, please verify:
- ScriptHookV -> Must be updated to the latest version matching your GTA V game build.
- ScriptHookVDotNet (SHVDN) -> Highly recommended to use SHVDN v3.6.0 (Nightly) or higher.
If you are running older versions of ScriptHookVDotNet (v2.x or older v3.x builds),
the game engine might invert the vertical D-Pad axes (mapping 188 to Up and 187 to Down).
Always update your hooks to the latest releases for similiar IDs of this list!
Enjoy your game!
👍 Someone liked this mod 7 hours ago!
💡 Others also downloaded: Weapon & Vehicle Saving System [Legacy & Enhanced] V1.0.1, Steering Memory [Enhanced], Carguy Scripts β Working Trailer Vehicles Stay in World Missions V1.01.
Author: RockstarTesterMod
Share Your Gameplay!
Submit a screenshot of this mod!
Submit a YouTube video.

