Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Vehicle Scripts

FiveM Headlights

Colored Headlights

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: all 2 resources read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Dependencies
mysql-async
File size
12.1 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

This FiveM colored headlights script lets you choose new xenon colors for your vehicle, which fits well for gangs. matif_headlights (Matif Xenon Headlights) comes with a UI to change your vehicle's headlight color, in a standalone and an ESX version.

Features

  • UI to choose the xenon headlight color of your vehicle
  • /installheadlights: installs the colored headlights on a vehicle
  • /headlights: opens the color UI (after installation)
  • Standalone version: colors are saved per plate in its own matif_headlights table
  • ESX version: the vehicle must be owned by a player, and only mechanics can use /installheadlights, which creates roleplay around the headlights; the color is saved in owned_vehicles

Requirements

  • mysql-async (both versions)
  • es_extended (ESX version only)

Installation

  • Standalone: copy STANDALONE/matif_headlights into your resources and import matif_headlights.sql
  • ESX: copy the content of ESX VERSION into a folder named matif_headlights and import its matif_headlights.sql (it adds a color column to owned_vehicles; adjust the USE `essentialmode` line to your database name and remove the trailing comma before the semicolon if your SQL client reports an error)
  • Add ensure matif_headlights to your server.cfg

Note: Using client-side visual mods can interfere with the script, so it isn't recommended to use them. Changing the resource name could break it, so leave it as matif_headlights.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: all 2 resources of this download.

In your downloads
  • JG Dealerships
    • ESX
    • QBCore, Qbox
    Not for your framework

    JG Dealerships

    JG Scripts

    $30.00$21.00
  • Car Radio
    • ESX
    • QBCore, vRP
    Not for your framework

    Car Music System V3 [Standalone]

    $14.99$10.49
  • Simple ESX HUD FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Airbags Script

    Big Daddy

    $9.00$6.30
  • mCarControl
    • ESX
    • QBCore
    Not for your framework

    CodeM mCarControl

    CodeM

    $5.00$3.50
  • Contract ESX
    • ESX
    Not for your framework

    okokContract

    okok Scripts

    $13.99$9.79
  • Quasar Vehiclekeys 2.0 FiveM resource preview 2
    • ESX
    • Standalone, QBCore, Qbox

    Quasar Vehiclekeys

    Quasar Scripts

    $10.00$7.00
  • CodeM mVehicleshop v2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    CodeM mVehicleshop v2

    CodeM

    $15.00$10.50
  • Smart Motorways
    • ESX
    • QBCore, Qbox, vRP
    Not for your framework

    London Studios Smart Motorways

    London Studios

    $30.00$21.00