Hey @Knoz9,
the getSharedObject is EOL/Deprecated. It was replaced with an Export/Import method.

Export

The Export can be simply used by doing:

ESX = exports["es_extended"]:getSharedObject()

Import

The import can be used by simply adding this into the fxmanifest.lua:

shared_script '@es_extended/imports.lua'

More information about esx:getSahredObject Deprecation can you find here: esx:getSharedObject Deprecation | ESX Documentation

2 Likes