L1R
1
Hey folks.
When I am running my server I am getting this error:
No such export GetCoreObject in resource m-core
in the top of the .lua file I have this line:
local MCore = exports[‘m-core’]:GetCoreObject()
and I am using this QBCore version: GitHub - qbcore-framework/qb-core: FiveM RP Framework Core 💪
How to solve this problem?
2 Likes
hakizor
2
if u are using qb-core… why your exports is “m-core”?
U should use this one:
local QBCore = exports[‘qb-core’]:GetCoreObject()
1 Like
hakizor
4
mmm can u send a screen of your main.lua in qbcore/client/main.lua?
Did you fix this? and yeah it should be qbcore not sure why people change it to put there own name on it.
2 Likes