FiveM server load resources incorrectly

Hi all!

I have a problem and am stuck.

Taxi resource
I have a resource with a car that replaces the standard car - taxi.
Resource content:

.
│ fxmanifest.lua
│
└───stream
         taxi.yft
         taxi.ytd
         taxi_hi.yft

On the local server, the resource loads and works without problems (the car with the replaced model will be spawned), but on production, the car with the standard model is loaded.

Weapon resource
There is also a weapon resource. I am replacing the w_pi_pistol model and weaponcomponents.meta which changes ammo count from 12 to 17.
On the local server, I have a model and a modified file loaded, there are 17 rounds in the gun.
On the local server, I have a model loaded, but the modified file does not work, there are 12 rounds in the gun.

Resource content:

.
│   fxmanifest.lua
│   weaponcomponents.meta
│
└───stream
        w_pi_pistol+hi.ytd
        w_pi_pistol.ydr
        w_pi_pistol.ytd
        w_pi_pistol_hi.ydr
        w_pi_pistol_mag1.ydr
        w_pi_pistol_mag1.ytd
        w_pi_pistol_mag2.ydr
        w_pi_pistol_mag2.ytd

fxmanifest.lua content:

fx_version 'cerulean'
game 'gta5'

files {
	'weaponcomponents.meta'
}

data_file 'WEAPONCOMPONENTSINFO_FILE' 'weaponcomponents.meta'

What I did?
I cleared the client’s cache, the cache on both servers, but the problem remained.

The weapon and car resource worked on the production server before the transition to build 2612 and the server FX build update, but I can’t confirm.

Production server:

  • game version: 2612
  • server version: v1.0.0.5562 win32
  • slots: 128
  • FiveM Element Club Platinum
  • amount of resources: 212

Local server:

  • game version: 2612 (as in production)
  • server version: v1.0.0.5562 win32 (as in production)
  • slots: 4
  • no FiveM Element Club subscription
  • amount of resources: 80

Someone faced a similar problem? Any ideas what could be the problem and how to solve it?

Did you start the scripts (first refresh, then ensure SCRIPT, then reconnect. Or add the script to your server cfg and restart your server) and do you have any other scripts which stream these files?

Resources are added to the configuration file and included as categories:

ensure [vehicles]
ensure [weapons]

Vehicles:

.
+---[civil]
|   +---[commercial]
|   |   +---newsvan
|   |   +---newsvan2
|   |   \---taxi
\ --- {other resources}

There are no resources that stream the same file.

In the console, I can see that the resources are enabled when the server starts. There are no errors in the console

I found temporary solution, but I think it is a bug

I have a problem with resources which replace GTA resources. If it happens, just place resource in root of resource folder.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.