Cant Load Resource

For some reason a bunch of my cars I am trying to add come up in FiveM as not being able to load. I have done everything right and found the correct files but I seem to not work. Some cars work, some cars don’t. I have checked all spelling, __resource files to see and I am not sure. The only thing I’m questioning is in the stream folder. Do I need to have 2.YTD files and 2 YFT files? I don’t think so because some of the cars that do work are missing a YTD file. Some and most of the cars I am getting now only come with 3 files now. If anyone is able to help that would be great.

My Server Resources

These resources will start by default.

start LoadingScreen
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start hyperadmin
start aopmaster
start wrath
start RPRevive
start twitter
start mechat
start textscript
start better-911-master
start voicechat
start Jailer
start carhud
start ShowID
start FuelSystem
start damagesystem
start deleteveh
start disabledispatch
start roleplay-toolbox
start TLG-ADS
start TrafficController
start fordexplorer
start oppcharger
start oppvic
#--------------Cars--------------------
#--------- Aston Martin ------------
start AstonMartin_Vantage
#---------- Audi ----------------------
start Audi_R8
#-------------- BMW ----------------
#---------------- Chevy --------------
start Chevy_Camaro
#---------------- Ferrari -------------
#---------- Lamborgini -------------
#---------------- Mclaren -----------
start Mclaren_Senna
#------------- Mercedies -----------
start Mercedies_AMG
#------------ Porche -----------------
start Porche_Cayman
#------------- Tesla ------------------
#-------------- Toyota --------------

My Server Console

A:\FivemServer>cd /d A:\FivemServer\cfx-server-data-master

A:\FivemServer\cfx-server-data-master>A:\FivemServer\run.cmd +exec server.cfg
Resolved live-internal.fivem.net:30110 to 178.32.9.100:30110
Found new resource announce in A:/FivemServer\cfx-server-data-master/resources//announce
Resource loading for announce failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//announce/__resource.lua.
Found new resource fivem in A:/FivemServer\cfx-server-data-master/resources//fivem
Found new resource fivem-awesome1501 in A:/FivemServer\cfx-server-data-master/resources//fivem-awesome1501
Found new resource fivem-map-hipster in A:/FivemServer\cfx-server-data-master/resources//fivem-map-hipster
Found new resource fivem-map-skater in A:/FivemServer\cfx-server-data-master/resources//fivem-map-skater
Found new resource LoadingScreen in A:/FivemServer\cfx-server-data-master/resources//LoadingScreen
Found new resource runcode in A:/FivemServer\cfx-server-data-master/resources//runcode
Found new resource AstonMartin_Vantage in A:/FivemServer\cfx-server-data-master/resources//[carsready]/AstonMartin_Vantage
Found new resource Audi_R8 in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Audi_R8
Found new resource Chevy_Camaro in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Chevy_Camaro
Found new resource Mclaren_Senna in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Mclaren_Senna
Found new resource Mercedies_AMG in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Mercedies_AMG
Found new resource Porche_Cayman in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Porche_Cayman
Found new resource race in A:/FivemServer\cfx-server-data-master/resources//[gamemodes]/race
Found new resource race-test in A:/FivemServer\cfx-server-data-master/resources//[gamemodes]/race-test
Found new resource channelfeed in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/channelfeed
Found new resource irc in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/irc
Found new resource obituary in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/obituary
Found new resource obituary-deaths in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/obituary-deaths
Found new resource playernames in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/playernames
Found new resource mapmanager in A:/FivemServer\cfx-server-data-master/resources//[managers]/mapmanager
Found new resource AstonMartin_Vulcan in A:/FivemServer\cfx-server-data-master/resources//[notready]/AstonMartin_Vulcan
Found new resource BMW_I8 in A:/FivemServer\cfx-server-data-master/resources//[notready]/BMW_I8
Resource loading for BMW_I8 failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/BMW_I8/__resource.lua: …-data-master/resources//[notready]/BMW_I8/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Lamborghini_Urus in A:/FivemServer\cfx-server-data-master/resources//[notready]/Lamborghini_Urus
Resource loading for Lamborghini_Urus failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Lamborghini_Urus/__resource.lua: …er/resources//[notready]/Lamborghini_Urus/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Mclaren_P1 in A:/FivemServer\cfx-server-data-master/resources//[notready]/Mclaren_P1
Resource loading for Mclaren_P1 failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Mclaren_P1/__resource.lua: …a-master/resources//[notready]/Mclaren_P1/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Tesla_Model_S in A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_S
Resource loading for Tesla_Model_S failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_S/__resource.lua: …aster/resources//[notready]/Tesla_Model_S/__resource.lua:9: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Tesla_Model_X in A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_X
Resource loading for Tesla_Model_X failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_X/__resource.lua: …aster/resources//[notready]/Tesla_Model_X/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Tesla_Roadster in A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Roadster
Resource loading for Tesla_Roadster failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Roadster/__resource.lua: …ster/resources//[notready]/Tesla_Roadster/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Toyota_Supra in A:/FivemServer\cfx-server-data-master/resources//[notready]/Toyota_Supra
Resource loading for Toyota_Supra failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Toyota_Supra/__resource.lua: …master/resources//[notready]/Toyota_Supra/__resource.lua:9: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource aopmaster in A:/FivemServer\cfx-server-data-master/resources//[plugins]/aopmaster
Found new resource better-911-master in A:/FivemServer\cfx-server-data-master/resources//[plugins]/better-911-master
Found new resource carhud in A:/FivemServer\cfx-server-data-master/resources//[plugins]/carhud
Found new resource cruiseControl in A:/FivemServer\cfx-server-data-master/resources//[plugins]/cruiseControl
Found new resource damagesystem in A:/FivemServer\cfx-server-data-master/resources//[plugins]/damagesystem
Found new resource darkweb in A:/FivemServer\cfx-server-data-master/resources//[plugins]/darkweb
Found new resource deleteveh in A:/FivemServer\cfx-server-data-master/resources//[plugins]/deleteveh
Found new resource disabledispatch in A:/FivemServer\cfx-server-data-master/resources//[plugins]/disabledispatch
Found new resource Fax-Core in A:/FivemServer\cfx-server-data-master/resources//[plugins]/Fax-Core
Found new resource FuelSystem in A:/FivemServer\cfx-server-data-master/resources//[plugins]/FuelSystem
Found new resource hyperadmin in A:/FivemServer\cfx-server-data-master/resources//[plugins]/hyperadmin
Found new resource Jailer in A:/FivemServer\cfx-server-data-master/resources//[plugins]/Jailer
Found new resource mechat in A:/FivemServer\cfx-server-data-master/resources//[plugins]/mechat
Found new resource roleplay-toolbox in A:/FivemServer\cfx-server-data-master/resources//[plugins]/roleplay-toolbox
Found new resource RPRevive in A:/FivemServer\cfx-server-data-master/resources//[plugins]/RPRevive
Found new resource ShowID in A:/FivemServer\cfx-server-data-master/resources//[plugins]/ShowID
Found new resource SingleShot in A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot
Resource loading for SingleShot failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot/__resource.lua.
Found new resource SingleShot-1.1 in A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot-1.1
Resource loading for SingleShot-1.1 failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot-1.1/__resource.lua.
Found new resource textscript in A:/FivemServer\cfx-server-data-master/resources//[plugins]/textscript
Found new resource TLG-ADS in A:/FivemServer\cfx-server-data-master/resources//[plugins]/TLG-ADS
Found new resource TrafficController in A:/FivemServer\cfx-server-data-master/resources//[plugins]/TrafficController
Found new resource twitter in A:/FivemServer\cfx-server-data-master/resources//[plugins]/twitter
Found new resource voicechat in A:/FivemServer\cfx-server-data-master/resources//[plugins]/voicechat
Found new resource wrath in A:/FivemServer\cfx-server-data-master/resources//[plugins]/wrath
Found new resource fordexplorer in A:/FivemServer\cfx-server-data-master/resources//[policecars]/fordexplorer
Found new resource oppcharger in A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppcharger
Found new resource oppcruiser in A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppcruiser
Resource loading for oppcruiser failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppcruiser/__resource.lua.
Found new resource oppvic in A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppvic
Found new resource baseevents in A:/FivemServer\cfx-server-data-master/resources//[system]/baseevents
Found new resource chat in A:/FivemServer\cfx-server-data-master/resources//[system]/chat
Found new resource chat-theme-gtao in A:/FivemServer\cfx-server-data-master/resources//[system]/chat-theme-gtao
Found new resource hardcap in A:/FivemServer\cfx-server-data-master/resources//[system]/hardcap
Found new resource ■■■■■■■ in A:/FivemServer\cfx-server-data-master/resources//[system]/■■■■■■■
Found new resource scoreboard in A:/FivemServer\cfx-server-data-master/resources//[system]/scoreboard
Found new resource sessionmanager in A:/FivemServer\cfx-server-data-master/resources//[system]/sessionmanager
Found new resource spawnmanager in A:/FivemServer\cfx-server-data-master/resources//[system]/spawnmanager
Found new resource betaguns in A:/FivemServer\cfx-server-data-master/resources//[test]/betaguns
Found new resource gameInit in A:/FivemServer\cfx-server-data-master/resources//[test]/gameInit
Found new resource keks in A:/FivemServer\cfx-server-data-master/resources//[test]/keks
Found new resource webpack in A:/FivemServer\cfx-server-data-master/resources//[system]/[builders]/webpack
Found new resource yarn in A:/FivemServer\cfx-server-data-master/resources//[system]/[builders]/yarn
Started resource sessionmanager
Started resource LoadingScreen
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started gametype Freeroam
Started resource fivem
Started resource hardcap
Started resource ■■■■■■■
Started resource scoreboard
Started resource playernames
System.IO.FileNotFoundException: Unable to find the specified file.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at (wrapper cominterop) CitizenFX.Core.IScriptHost:OpenHostFile (string)
at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:OpenHostFile (string)
at CitizenFX.Core.MonoScriptRuntime.LoadFile (System.String scriptFile) [0x00007] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:113
Failed to load script HyperAdmin.Server.net.dll.
Started resource hyperadmin
Started resource aopmaster
Started resource wrath
Started resource RPRevive
Started resource twitter
Failed to load script @mysql-async/lib/MySQL.lua.
Started resource mechat
TextScript, Created By ToniMorton and RJRoss
Checking Version…
Started resource textscript
Started resource better-911-master
Started resource voicechat
Jailer by Albo1125 (LUA, FXServer, FiveM).
Started resource Jailer
Started resource carhud
Started resource ShowID
Started resource FuelSystem
Started resource damagesystem
Started resource deleteveh
Started resource disabledispatch
Started resource roleplay-toolbox
Started resource TLG-ADS
Started resource TrafficController
Started resource fordexplorer
Started resource oppcharger
Started resource oppvic
Started resource AstonMartin_Vulcan
Started resource Audi_R8
Started resource Chevy_Camaro
Started resource Mclaren_Senna
Started resource Mercedies_AMG
Started resource Porche_Cayman
Started resource Fax-Core
Argument count mismatch (passed 4, wanted 3)
Authenticating server license key…
Server licecfx> nse key authentication succeeded. Welcome!
Sending heartbeat to live-internal.fivem.net:30110
Started map fivem-map-skater
Started resource fivem-map-skater

[Fax-AOP] Status: Script (Re)Started

hitch warning: frame time of 227 milliseconds

---------------------- Fax-Core ----------------------
--------- Fax Core is on the latest version ----------

Your version: 2.0
Error running system event handling function for resource textscript: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:11: attempt to concatenate a nil value (local ‘rText’)
stack traceback:
server.lua:11: in local ‘userCallback’
citizen:/scripting/lua/scheduler.lua:318: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182
Error running system event handling function for resource textscript: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:74: attempt to compare string with nil
stack traceback:
server.lua:74: in local ‘userCallback’
citizen:/scripting/lua/scheduler.lua:318: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182


Roleplay Toolbox

Current Version: 2.0
Newest Version: 2.0


Try and keep communication here :stuck_out_tongue:

paste your resource.lua below and check your server console output…

ok just put it up but not sure how to make it look like code

Whats starting after Fax-Core?

i guess fax core starts within the exec perms because I dont have a start fax core anywhere

thats all thats there after fax core. nothing else starts

Ok. Send Fax-Cores server.lua line 11. Also is Fax-Core modified?

Fax core is modified but just with the vehicles and guns in dont want. Also I was having a problem with fax core saying my cars that I did get in were restricted. That was when I was is quest mode. When I signed in then they worked. It wasnt letting me use the cars even though there was no restriction on them.

–[[ GENERAL CONFIGURATION ]] – Do you have the Whitelist Extension? (Set to “true” or “false”). FaxcWhiteL = true --[[ Fax Core, made by FAXES Do not edit this file. Please edit the config.lua instead ]] – Checks for Ace perms RegisterServerEvent(“Fax:CheckWhite”) AddEventHandler(‘Fax:CheckWhite’, function() if IsPlayerAceAllowed(source, “owner”) then – Fax Core TriggerClientEvent(“Fax:owner”, source) TriggerClientEvent(“Fax:ownerMessage”, source) elseif IsPlayerAceAllowed(source, “snradmin”) then – Fax Core TriggerClientEvent(“Fax:sadmin”, source) TriggerClientEvent(“Fax:sadminMessage”, source) – Fax Core Whitelist elseif IsPlayerAceAllowed(source, “fadmin”) then – Fax Core TriggerClientEvent(“Fax:fadmin”, source) TriggerClientEvent(“Fax:fadminMessage”, source) – Fax Core Whitelist elseif IsPlayerAceAllowed(source, “member3”) then – Fax Core TriggerClientEvent(“Fax:member3”, source) TriggerClientEvent(“Fax:m3Message”, source) – Fax Core Whitelist elseif IsPlayerAceAllowed(source, “member2”) then – Fax Core TriggerClientEvent(“Fax:member2”, source) TriggerClientEvent(“Fax:m2Message”, source) – Fax Core Whitelist elseif IsPlayerAceAllowed(source, “member1”) then – Fax Core TriggerClientEvent(“Fax:member1”, source) TriggerClientEvent(“Fax:m1Message”, source) – Fax Core Whitelist else – Fax Core TriggerClientEvent(“Fax:guest”, source) TriggerClientEvent(“Fax:guestMessage”, source) – Fax Core Whitelist end end) – ODA Command RegisterCommand(“oda”, function(source, args, rawCommand) if IsPlayerAceAllowed(source, “owner”) then TriggerClientEvent(“FaxCore:TeamYes”, source) – Check for senior admin perms elseif IsPlayerAceAllowed(source, “snradmin”) then TriggerClientEvent(“FaxCore:TeamYes”, source) – Check for admin perms elseif IsPlayerAceAllowed(source, “fadmin”) then TriggerClientEvent(“FaxCore:TeamYes”, source) else print(‘FaxCore : Access Denied after /ODA was used.’) end end) – Version checker PerformHttpRequest(“http://faxes.zone/files/fax-core/version.txt”, function(err, serverVersion, headers) local version = “v2.1.0” if string.find(serverVersion, version) == nil then Wait(120) print("\n") print("---------------------- Fax-Core ----------------------") print("---- ALERT : Your version of Fax-Core is outdated ----") print("— Please update your version as soon as possible —") print("------ http://faxes.zone/scripts/fax-core.html -------") print("------------------------------------------------------") print("\n") else Wait(120) print("\n") print("---------------------- Fax-Core ----------------------") print("--------- Fax Core is on the latest version ----------") print("------------------------------------------------------") end end) Citizen.CreateThread(function () check = (GetConvar(“Fax-Core”, “false”) == “true”) if not check then Wait(140) print("\n") print("---------------------- Fax-Core ----------------------") print("------ ALERT: Permissions are not set correctly ------") print("— Please read the Wiki on setting up permissions —") print("------ http://faxes.zone/scripts/fax-core.html -------") print("------------------------------------------------------") print("\n") end end)

Head to he Fax-Core topic, seemings its an issue with that… Post the server.lua file there with the file upload button.

didnt u make this. Shouldnt u be able to tell me right now. is it because I dont have ace perms in server.cfg or something

1 Like

Go to that topic, so things are kept on topic, if it’s an issue with a resource ask in said resource…

well u just told me its a problem with ur thing. I thought its a problem with my resources and thats why I asked here. Some of my cars arnt sarting up. Fivem says they cant be loaded thats why I came here. Ill post it on ur thing anyway thoe