Skip to content

Troubleshooting

Every message cc_blips prints starts with [cc_blips]. Server messages are in the server console (txAdmin → Live Console); client messages are in F8.

Every message cc_blips prints starts with [cc_blips]. Server messages are in the server console (txAdmin → Live Console); client messages are in F8.

Nothing on the map changed

  1. Is cc_lib started first? In the server console: Could not find dependency cc_lib for resource cc_blips → install cc_lib and put ensure cc_lib above ensure cc_blips.
  2. Is it on? Config.Enabled = true in config.lua.
  3. Did an admin switch it off? /blipsadmin on. (The choice is remembered across restarts.)
  4. Did you switch it off for yourself? Run /blipstyle once. It is saved on your PC.
  5. Config errors? Look for [cc_blips] config error: lines. Each says what is wrong and what was used instead.
  6. Wait a second. New blips are picked up once per Config.Interval (1000 ms); a new kind of icon can take up to Config.FullScanMs (30 s) the first time.

SCRIPT ERROR: @cc_blips/...: attempt to index a nil value (global 'CC')

cc_lib did not load before cc_blips. Check the folder is called exactly cc_lib and that it starts without errors itself.

One script's blips are not themed

  • They follow something (a vehicle, a ped, another player): those are entity blips, off by default. Turn on Config.BlipKinds.vehicle / ped / object.
  • They flash (dispatch alerts) or have a GPS route: left alone on purpose. See Config.SkipFlashing / Config.SkipGpsRoute.
  • Their sprite is skipped: check Config.SkipSprites and any skip = true rule.
  • A hook skips them: check CCBlipsHooks.shouldTheme in custom/hooks.lua.
  • They are drawn every frame by a script that deletes and re-creates its blip each tick. cc_blips themes it each pass, but the script resets it in between. Use the export in that script instead: exports.cc_blips:ThemeBlip(blip) after it creates the blip.

A blip has the wrong colour family

Its script used a GTA colour that Config.Families maps to another family, or a raw RGBA cc_blips cannot map (it then gets the preset's default). Give its sprite a rule:

lua
Config.Sprites[357] = { family = 'blue' }

Turn on Config.Debug to see each blip's sprite and colour in F8.

Colours flicker or keep changing

Another resource is recolouring the same blips on a loop (another blip theme script, or a script that resets its blip colour every few seconds). Stop the other theme resource, or exclude that script's blips: exports.cc_blips:ExcludeBlip(blip).

Blip names changed to "Akula" / "Arena Premium"

Not cc_blips: it never calls SetBlipSprite. Another script is changing sprites on blips it does not own. Find it by stopping resources one at a time.

Blips stay small after stopping cc_blips

GTA has no way to read a blip's size, so the original size cannot be restored. Restart the resource that made the blips, or set Config.Restore.scale = 1.0 to reset every themed blip to that size on stop.

/blipsadmin says "No permission."

Add the ACE in server.cfg and restart (or run it in the console):

cfg
add_ace group.admin cc_blips.admin allow
add_principal identifier.fivem:123456 group.admin

[cc_blips] config error: Preset "x" does not exist; using "soft"

Config.Preset names a preset that is not in presets/. Preset names are case-sensitive in config.lua (the admin command lowercases).

[cc_blips] config error: preset "x" palette.<family> is missing or not a colour

A custom preset must define all nine families: stone, red, orange, gold, green, teal, blue, purple, pink. Colours are 0xRRGGBBAA (e.g. 0xF8D15CFF) or GTA indexes 0–85.

[cc_blips] custom/hooks.lua colour failed: ...

Your hook threw an error. It is shown once and the default is used, so the map still works. Fix the line the error names.

Performance

cc_blips sleeps between passes (Config.Interval) and spreads each full scan over ~10 frames. If resmon ever shows it above 0.01 ms with hundreds of blips, raise Config.Interval to 2000 and lower Config.SpritesPerFrame to 50.