Guides & fixes
Fix it, then get back to your server.
Step-by-step fixes for the errors FiveM server owners hit most: ESX, QBCore, QBox, oxmysql and more. Tested, with the code to copy.
ESX is nil: fixing esx:getSharedObject in ESX Legacyattempt to index a nil value (global 'ESX')? The old esx:getSharedObject event is gone from ESX Legacy. Here is the one-line fix, and what to do with scripts you cannot edit.No such export getSharedObject in resource es_extended: the fixGetting 'No such export getSharedObject in resource es_extended'? It means es_extended is not running when your script asks for it. The causes, from start order to a failed database connection.attempt to index a nil value (global 'QBCore'): the GetCoreObject fixQBCore is nil in your script? The old QBCore:GetObject event is gone. How to get the core object with GetCoreObject, on QBCore and on QBox, and why it can still be nil.
Still stuck?Ask in the Mic Scripts Discord: server owners, and the developer who wrote the scripts.Join Discord →Scripts that just workEvery script finds ESX, QBCore or QBox on its own, with an open bridge for anything custom.Browse scripts →Spin for free today.Up to 50% off, a free script or a month of All access, once a day.Spin the wheel →