๐ชCore
Configure the script core dependency according to your server preference
Step 1: Navigate to mm_airdrop/shared/init.lua
Step 2: If you have renamed the core folder, then change the name. Ex: I have renamed qb-core to mm_core
if GetResourceState('mm_core') == 'started' then
Shared.Core = 'qb' -- don't rename it
QBCore = exports['mm_core']:GetCoreObject()
elseif GetResourceState('es_extended') == 'started' then
Shared.Core = 'esx' -- don't rename it
export, ESX = pcall(function() return exports.es_extended:getSharedObject() end)
if not export then
while not ESX do
TriggerEvent("esx:getSharedObject", function(obj)
ESX = obj
end)
Wait(500)
end
end
else
error('No core found', 0)
Shared.Core = false
Shared.Ready = false
end
Step 3: Consider Checking the mm_airdrop/client/bridge
and mm_airdrop/server/bridge
folder for renaming the exports of core
Last updated