A FiveM light id is the number that ties a vehicle to a block of light or siren settings in carcols.meta. The settings are defined once with an id, and each car points at that id from carvariations.meta through sirenSettings and lightSettings. If two resources define the same id, only one definition wins, and the other cars get the wrong flash pattern or no emergency lights at all.

To check a whole server for clashing ids, drop your resources folder into the carcols ID fixer. It finds siren, light and modkit ids claimed twice, and ids stock GTA already owns, renumbers them and rewrites the carvariations bindings to match. The rest of this guide explains how the ids work so you can read and fix them yourself, and covers the other thing people mean by this search: FiveM name color codes.

FiveM carcols ID fixer on Rivo Tools

Where light and siren ids live

Two files do the work. carcols.meta defines the settings and gives each block an id. carvariations.meta tells a specific model which id to use. Both are declared as data files in the resource's fxmanifest.lua.

carcols.meta: defining the id

Each siren setup sits in an Item under Sirens. The id value is the number other files refer to. Modkits work the same way under Kits, with their own id.

<CVehicleModelInfoVarGlobal>
  <Kits>
    <Item>
      <kitName>4120_mypd_modkit</kitName>
      <id value="4120" />
      <!-- mod parts -->
    </Item>
  </Kits>
  <Sirens>
    <Item>
      <id value="4120" />
      <name>mypd_lights</name>
      <!-- timing, rotators and siren lights -->
    </Item>
  </Sirens>
</CVehicleModelInfoVarGlobal>

carvariations.meta: pointing at the id

The variation entry for the model names the kit and sets sirenSettings to the siren id from carcols.meta. lightSettings points at a light settings block the same way.

<CVehicleModelInfoVariation>
  <variationData>
    <Item>
      <modelName>mypd</modelName>
      <!-- colors -->
      <kits>
        <Item>4120_mypd_modkit</Item>
      </kits>
      <lightSettings value="1" />
      <sirenSettings value="4120" />
    </Item>
  </variationData>
</CVehicleModelInfoVariation>

fxmanifest.lua: loading both files

If the files are not declared, the game never reads them and the car falls back to whatever the id points at elsewhere.

fx_version 'cerulean'
game 'gta5'

files {
  'data/carcols.meta',
  'data/carvariations.meta'
}

data_file 'CARCOLS_FILE' 'data/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta'

You can check a manifest against its real files with the fxmanifest.lua checker, which flags data_files that are never declared and paths that do not exist.

Why light ids clash

Vehicle authors pick ids on their own, and many reuse the same numbers. Once you run several police packs, it is common for two of them to define the same siren id. The game keeps one definition, so one pack's cars flash with the other pack's pattern.

  • Lights on one car show another car's pattern or wrong colors.

  • A car has no emergency lights even though the siren sound works.

  • Lights look right until another resource starts, then change.

  • Tuning menus show the wrong parts because two modkits share an id.

  • A pack uses an id that stock GTA vehicles already own, so a vanilla police car changes too.

Start order decides which definition wins, which is why the problem can appear or vanish when you reorder ensure lines in server.cfg. Reordering is not a fix. Each definition needs its own id.

How to fix clashing light ids

With the carcols ID fixer

  1. Zip your resources folder, or just the vehicle packs, and drop it in.

  2. Review each clashing id and which resources claim it, including any that collide with stock GTA ids.

  3. Download the renumbered files. The carcols.meta ids and the matching carvariations.meta bindings are rewritten together.

  4. Replace the old files in each resource and restart the server, not just the resource, so the meta loads cleanly.

  5. Spawn each affected car and turn its lights on to confirm the right pattern.

By hand

  1. Search every carcols.meta on the server for id value and list each number with the resource it came from.

  2. For any number that appears twice, pick a new unused id for one of them.

  3. Change the id in that resource's carcols.meta.

  4. Change sirenSettings, lightSettings or the kit name in the same resource's carvariations.meta to match. Missing this step is the most common mistake.

  5. Restart and test the car.

Manual fixing works for two or three packs. Past that, it is easy to change an id in one file and forget its binding in the other. After any change, run the files through the vehicle meta checker, which lints carcols.meta and carvariations.meta together with vehicles.meta and handling.meta.

Making new light patterns

If you want to change what the lights do rather than just which id they use, the siren and light pattern editor lets you set each light's color, rotation and flash pattern on a timeline on a live 3D police car, then exports the carcols.meta siren entry. Give the new entry an id no other resource uses, and set sirenSettings in carvariations.meta to that id.

If your server uses an ELS-style resource instead of carcols sirens, see the Z_ELS for FiveM guide. For siren sounds rather than lights, the FiveM siren pack guide covers building a server-side audio resource.

FiveM name colors and color codes

Many people searching this mean text colors, not vehicle lights. FiveM uses caret codes: a ^ followed by a digit changes the color of the text after it. They work in chat messages and in server list fields such as sv_projectName and sv_projectDesc in server.cfg.

  • ^0 white

  • ^1 red

  • ^2 green

  • ^3 yellow

  • ^4 blue

  • ^5 light blue

  • ^6 purple

  • ^7 white (the usual reset)

  • ^8 and ^9 also exist, but their shades depend on the interface showing them, so preview before relying on them.

sets sv_projectName "^1My ^7Roleplay ^4Server"
sets sv_projectDesc "^7Serious RP with custom ^3vehicles^7 and maps"

End colored text with ^7 so the rest of the line goes back to white. If you are building a config from scratch, the server.cfg generator produces a clean, correctly ordered file with your server name, tags and resource ensures.

Requirements checklist for working emergency lights

  • The vehicle model has siren bones for the lights it uses.

  • carcols.meta defines a siren block with a unique id.

  • carvariations.meta sets sirenSettings to that id for the right modelName.

  • Both files are listed in files and declared with data_file in fxmanifest.lua.

  • The resource is ensured in server.cfg.

  • No other resource, and no stock GTA vehicle, uses the same id.

If every item checks out and the lights are still wrong, a clash is the likely cause. The carcols ID fixer overview explains what it scans for. For the official data file types, see the FiveM documentation.