Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help setting up FiveM cars for SP...

Featured Replies

So we all know how to install FiveM cars, right? Just click download with Lenny's mod manager. Boom. You're all ready to go.

Fast forward a couple updates. I come back to LSPDFR after the updates finally cool down. I work tirelessly for 3 hours to update everything. And when I try to use my NON ELS add on cars WELP, NOTHING WORKS ANYMORE.

 

They don't load into the game! I figured that out, you have to manually add EVERY car in the pack to install.xml. Fun.

They've loaded in the game, but they aren't detected. Anywhere. I can't spawn them in. After 2 hours of hopelessly researching, one person mentions that SP GTA CAN'T HAVE CUSTOM CAR NAMES! Mine were named things like 'BCSO4.ytf' etc. I manually change the names to 'sheriff', 'sheriff2' 'sheriff3' etc. Well, the ones past sheriff2 don't show up. I'm stumped at this point. I don't get why it used to work before, but not now. Anyone got anything to try?

Edited by Lootron

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Management Team

Nothing has changed in terms of loading cars and there is no problem with custom names. You have to add cars manually to the install.xml if they are not automatically picked up by LML, but for FiveM stuff that should not be the case as it parses the resource.lua file instead of looking for resources directly. Please attach your ModManager and vfs logfiles so I can have a look and see what might go wrong while loading. YTDs/YTFs are quite resilient, so my guess is a data file is not getting loaded (path limit?).

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

Will do when I get home. Remind me where the vfs log is, though. I should have been more clear in my first post. I really didn't expect anyone to respond so quickly, let alone the dev themselves!!!

 

To be clear, I do *manually* add each vehicle, but I direct it to it's _resource.lua file. It's a pack, so each vehicle is in its own folder. This specific pack also has 2 sets of vehicles, All blue and Red and Blue. However, when I used the automatic install.xml, it *only* finds the _resource.lua in the first folder (All blue) and the first Vehicle (14tahoe). It didn't even find the other vehicles, and when I manually loaded the mod into the game with LMM, it said it only loaded 6 files, which is the amount of files in the first folder. They still wouldn't be able to be spawned in because they still had the custom name 'LSSD'. When I changed it to 'sheriff', and reloaded the mod, I was able to spawn it in. While the game was running, I added a second vehicle's _resource.lua to the install.xml. I reloaded the mod, and it showed me 12 files loaded, which shows me it loaded two vehicles. It still had the custom name, so it could not be spawned in either. I did the same with another pack, and all vehicles load in to the game, but aren't spawn able unless they are in sheriff or sheriff2.

 

I do have a path limit patch, I guess you could call it that? It was linked along with another script that does something with the memory, on the LML gameconfig download page. I have each one properly installed.

 

I'm not entirely clear on installing addon vehicles (every source I check mentions a new method, and different patchdays and using Albo's DLC thing which I know nothing about) and I didn't find any tutorials for using LML with FiveM cars. So I hope it is proper to ask here! I still think this is easier than attempting to make ELS work at all.

 

I apologise if I'm repeating information here, I'm trying to provide as many details as I can! Thanks!

Edited by Lootron

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Management Team

The log files are all in the game folder (where the exe is located). I think it only finds the first because it only expects one file. I was not aware of packs with multiple different resource.lua files at the time of developing the feature, but I will add detection for more than one in the next version then. The naming issue hints at a problem with your vehicles.meta file. Please attach the logs as mentioned and I will have a closer look.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

Each vehicle also comes with its own vehicles.meta. I wasn't sure if it loaded each one, and what changes are made in it. It's been a long time, and I honestly forgot what I would have to do with vehicles.meta. Thanks for your help!

 

vfs.log

ModManager.log

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Management Team

As suspected, the issue is the path limit as indicated by the warnings in the log:

 

2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2018 charger/18charger/vehicles.meta is too long to be loaded! Maximum: 128 characters, is: 145
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 tahoe/14tahoe/vehicles.meta, type 73
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 tahoe/14tahoe/vehicles.meta is too long to be loaded! Maximum: 128 characters, is: 141
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 charger/2 rear visor bars/14chgr/vehicles.meta, type 73
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 charger/2 rear visor bars/14chgr/vehicles.meta is too long to be loaded! Maximum: 128 characters, is: 160
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2011 impala/11impala/vehicles.meta, type 73
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2011 impala/11impala/vehicles.meta is too long to be loaded! Maximum: 128 characters, is: 143
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2018 charger/18charger/carcols.meta, type 10
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2018 charger/18charger/carcols.meta is too long to be loaded! Maximum: 128 characters, is: 144
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 tahoe/14tahoe/carcols.meta, type 10
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 tahoe/14tahoe/carcols.meta is too long to be loaded! Maximum: 128 characters, is: 140
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 charger/2 rear visor bars/14chgr/carcols.meta, type 10
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 charger/2 rear visor bars/14chgr/carcols.meta is too long to be loaded! Maximum: 128 characters, is: 159
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2011 impala/11impala/carcols.meta, type 10
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2011 impala/11impala/carcols.meta is too long to be loaded! Maximum: 128 characters, is: 142
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2018 charger/18charger/carvariations.meta, type 135
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2018 charger/18charger/carvariations.meta is too long to be loaded! Maximum: 128 characters, is: 150
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 tahoe/14tahoe/carvariations.meta, type 135
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 tahoe/14tahoe/carvariations.meta is too long to be loaded! Maximum: 128 characters, is: 146
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 charger/2 rear visor bars/14chgr/carvariations.meta, type 135
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2014 charger/2 rear visor bars/14chgr/carvariations.meta is too long to be loaded! Maximum: 128 characters, is: 165
2020-10-05 17:52:54 TRACE d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1371: LoadDataFile: Loading addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2011 impala/11impala/carvariations.meta, type 135
2020-10-05 17:52:54 WARN  d:\gtav\vfs\vfs\vfs\packfilehooks.cpp:1389: addonDLC:/downloader/gwinnett_county_sheriff_s_office_based_pack/gwinnett county sheriff's office based pack/2011 impala/11impala/carvariations.meta is too long to be loaded! Maximum: 128 characters, is: 148

 

Try to shorten the full path and it should automatically resolve all of those issues 🙂

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

Thanks, I'll try it in a few minutes! If that was it this whole time...LOL

Edited by Lootron

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Author

Well, I'm sad to say that didn't fix the problem. The vehicles assigned to sheriff and sheriff2 work fine, but none of the other vehicles can be spawned in (they aren't in the list even though lml says they're loaded in.). Got any more ideas?

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Author

 

I made the name of one of the folders shorter, to fix the path limit.

vfs.log 

ModManager.log

Thanks for all your help so far!

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Management Team

I quickly tested the pack myself, and after adjusting the file path it all works fine and the vehicles spawn, such as "spawn gcso2" in the console and it works fine. I renamed both of the long folders to "Gwinnett County" and used the following XML:

 

<?xml version="1.0" encoding="utf-8"?>
<EasyInstall>
  <Name>Gwinnett County Sheriff's Office Based Pack [NON-ELS/FIVEM READY]</Name>
  <Author>Dynamic Mods</Author>
  <Version>1.0.0</Version>
  <Link>https://www.lcpdfr.com/downloads/gta5mods/vehiclemodels/27191-gwinnett-county-sheriffs-office-based-pack-non-elsfivem-ready/</Link>
  <AutoGen>true</AutoGen>
  <AutoGenTime>07 October 2020 21:37:10</AutoGenTime>
  <Metadata></Metadata>
  <ResourceFolders />
  <Addons>
    <Addon>
      <ResourceLua>Gwinnett County/2011 Impala/11impala/__resource.lua</ResourceLua>
      <ResourceLua>Gwinnett County/2014 Charger/2 Rear Visor Bars/14chgr/__resource.lua</ResourceLua>
      <ResourceLua>Gwinnett County/2014 Tahoe/14tahoe/__resource.lua</ResourceLua>
      <ResourceLua>Gwinnett County/2018 Charger/18charger/__resource.lua</ResourceLua>
      <ResourceLua>Gwinnett County/2020 Tahoe/20tahoe/__resource.lua</ResourceLua>
    </Addon>
  </Addons>
</EasyInstall>

 

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

Thanks for all your help! For some reason, it just won't cooperate with addon vehicles for me, I guess. My XML is the same except for the folder name.

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Management Team

No problem! I don't really know what else it could be then, it worked first try for me. What error does it give you when you spawn them in via the console?

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

In the console, it says "could not spawn model with invalid hash" and proceeds to show a hex code. Using a trainer, the error reports "could not find model 'gcso' "

 

I just spent the last 2 hours attempting to use OpenIV to add the cars manually as addons/DLC. They still won't spawn. I'm not sure that I did it 100% correctly.

Edited by Lootron

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Management Team

That error indicates that the vehicles.meta did not load correctly or that no model named gcso was registered via a vehicles.meta. Are you sure you did not rename it there by accident as well? 

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

I re-downloaded it to attempt to add it as a DLC, to make sure everything was fresh. I also made sure the dlcpack name was the same.

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

  • Author

Thanks! If I figure out how, I'll post it here incase someone else has this problem.

My PC: i5-4590, GTX 1650 OC, 12 GB DDR3, 512 GB SSD, and a bunch of DIY to get it all to work!

Only 300$! You don't need 1500$ to play LSPDFR if you build it yourself.

This is a support topic.
Only reply here to offer help or assistance to Lootron. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.