Lua Script for Vehicle Headlight Management 1.1

Vehicles Lua


Description


Lua Script for Vehicle Headlight Management

This lua script, named Car Beam Control, is designed specifically for xbox controllers and controllers with similar layouts like the Razer Blade Sabortooth. It allows you to simulate real-life headlight strobing by enabling high beams only when a button is held.

Features:

  • Disables the generic cinematic camera (red B button) and replaces it with high beam control.
  • Keeps lights constantly on, regardless of day or night, with high beams active even during daytime.
  • [Arrow right pad] functionality for high beams remains, but lights cannot be switched off.
  • Requires holding the red B button to activate high beams; it functions as a hold switch rather than an on/off toggle.
  • Combines the green A button and red B button to trigger car repair and cleaning functionalities. It also sets the car to maximum performance levels, including turbo, limo window tint, black and yellow license plate with the text "2SW33T4U", xenon headlights, max engine, max brakes, max transmission, and max armor.
  • Activates hazard lights as long as the brake button (LT) or handbrake button (RB) is held.
  • Uses Page UP and Page Down keys on the keyboard to roll up or down the front windows.

Installation:

You need Asi script hook V and lua plugin. Copy the "carbeambontrol.lua" file to the "Grand Theft Auto V\scripts\addins" folder.

Changelog:

  • v1.1: remapped other features key from only A to A+B, to prevent convertibles roof flickers when ducking or using drift script.
  • v1.0: initial release.

To Do:

Add keyboard support with customizable keys.


First Upload: November 12, 2024 Last Updated: November 12, 2024


0 Comments