Attempt to index a nil value (global 'QBCore')

Hey :slight_smile: !
I’m not really familiar with QBcore yet, but when I check the code of multiple of the QBcore scripts I have on my QBtest server they don’t initialize the QBcore object the same way as you do. The way you are doing it looks more like the ESX way.

Here is what I got on my side :

local QBCore = exports['qb-core']:GetCoreObject()
16 Likes