[HELP] QBCore export issue

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

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

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

imo, for vanity sake.