![图片[1]-[Release] Carcols Fixer (Free, open-source siren / light / modkit ID conflict fixer) - FiveM插件网-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/9/e/6/a/9e6a564bc8992f8988f11e76b2d74196382c2672_2_1024x576.jpeg)
Hey everyone.
If you’ve ever added a new car pack and watched the lightbars on three other vehicles break, you already know the problem. GTA V only gives you 255 siren slots, 255 light slots, and 1023 modkit slots, and most packs don’t coordinate their numbering. The moment two cars land on the same ID, sirens flash the wrong pattern, lightbars show the wrong color, modkits go missing from LSC.
The usual fix is opening everycarcols.metaby hand. Then you add another pack and do it all again.
I builtcarcols-id-fixerbecause I didn’t think anyone should have to pay 20 euros for the script that solves this. It’s one file, ~600 lines, MIT licensed, zero dependencies.
What it does
- Scans every
carcols.metaandcarvariations.metain yourresources/tree - Finds every duplicate siren, light, and modkit ID across every pack at once
- Picks a free number inside the valid range and rewrites the loser
- Updates the matching
<Item>N_kitname</Item>references incarvariations.metaautomatically so the engine still finds the kit - Saves a
.bakof every changed file before touching it - One-command rollback (
node . --revert) restores every original
Built for messy real-world packs
- Handles packs where the kitName number doesn’t match the
<id>(more common than you’d think) - Skips engine-default modkit
0 - Catches out-of-range IDs and reassigns them to valid slots
- Preserves formatting, comments, indents, and line endings byte-for-byte
ignorelist in config so you can keep specific resources untouched
How to run it
Drop the folder next to yourserver.cfg:
fxserver/
- server.cfg
- resources/
- carcols-id-fixer/
Then:
cd carcols-id-fixer
node . # find clashes, fix them, save backups
node . --revert # roll everything back
node . scan # report only, no writes
node . fix --dry # preview without writing
Restart your vehicle resources after a fix and you’re done.
Why free
Honestly because the math behind this script is not worth €20 to anyone, and I think the FiveM community is better when this kind of basic infrastructure is open.
Download
:
Clone it, read the README, run it on a backup first if you’re nervous. Issues and PRs welcome.
Code is accessible| Yes
Subscription-based| No
Lines (approximately)| 600
Requirements| Node.js 18+
Support| Yes (via Issues)







![雷克斯工作室-网络球[MLO][免费]-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/c/8/4/6/c846951f63f429284652a04a69990e23ef5af768_2_1024x576.jpeg)
![[免费]加载屏幕+收音机更换|不符合角色的收音机-FiveM插件网](https://forum-cfx-re.akamaized.net/original/5X/8/f/9/7/8f97caf873a7b8e14a92f82463404aa8a640f7bf.jpeg)
![[PROPS]编剧:印钞和洗钱-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/c/b/a/a/cbaa5783a43d5e990ca42bf7576688a1f9d88269_2_1024x618.gif)
![[免费]汽车租赁-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/0/0/0/9/0009e3feb4ce611ecad43c35f07cd9f83e905098_2_1024x575.jpeg)










暂无评论内容