should resolve start order issues

This commit is contained in:
MrNewb committed 2025-05-18 23:45:37 -04:00
1 parent f0feadf268
commit 68e81b720a
86 files changed
+113 -146

No files matched your search

+3 -3
View File
@@ -2,9 +2,11 @@
if GetResourceState('qb-core') ~= 'started' then return end
if GetResourceState('qbx_core') == 'started' then return end
Framework = Framework or {}
QBCore = exports['qb-core']:GetCoreObject()
Framework = Framework or {}
Framework.Shared = QBCore.Shared
---This will get the name of the framework being used (if a supported framework).
---@return string
@@ -160,8 +162,6 @@ Framework.GetIsPlayerDead = function()
return playerData.metadata["isdead"] or playerData.metadata["inlaststand"]
end
Framework.Shared = QBCore.Shared
RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
Wait(1500)
TriggerEvent('community_bridge:Client:OnPlayerLoaded')