Skip to content

GLINT – Vehicle Spotlight System for FiveM

Overview 🔦

GLINT provides advanced vehicle-mounted spotlights for FiveM servers. Players can toggle floodlights, alley lights, or a smart tracking beam via UI or hotkeys, with full network synchronization so every player sees each other’s lights in real time.

Features ✨

Installation 📦

  1. Download the GLINT resource folder.
  2. Place it into your server’s resources/ directory.
  3. Add ensure GLINT to your server.cfg.
  4. Restart or refresh + ensure GLINT.

Configuration ⚙️[⚠️COMING SOON⚠️]

Edit config.lua to tune light behavior:

-- Double-tap threshold (ms)
Config.DoubleTapThreshold    = 300

-- Tracking smooth factor (0.0–1.0)
Config.RotationSmoothFactor  = 0.15

-- Max distance and angle for auto-tracking
Config.TrackMaxDistance      = 250.0
Config.TrackAngleThreshold   = math.cos(math.rad(90))

-- Spotlight parameters
Config.FloodInnerRadius      = 40.0
Config.FloodOuterRadius      = 40.0
Config.FloodDistance         = 50.0
Config.FloodIntensity        = 40.0

Config.AlleyInnerRadius      = 30.0
Config.AlleyOuterRadius      = 20.0
Config.AlleyDistance         = 35.0
Config.AlleyIntensity        = 5.0

Config.TrackInnerRadius      = 50.0
Config.TrackOuterRadius      = 30.0
Config.TrackDistance         = 25.0
Config.TrackIntensity        = 28.6

Usage 🚀

Open the spotlight UI via:

/spotlightui

Or press L—single-tap for floodlights, double-tap for alley lights.

Use the UI’s “Track” button to enable the auto-tracking spotlight. Click “All” to toggle all modes at once, or “Close” to hide the panel.

Scripts 📜