lib structure overhaul

restructured lib portion to match modules
also edited community bridges onplayerunload fire to accept the passed src as it was otherwise nil
This commit is contained in:
gononono64 committed 2025-03-30 21:06:58 -05:00
1 parent 0b67e4b029
commit 8fd5de2d4e
36 files changed
+459 -210

No files matched your search

+1 -1
View File
@@ -369,7 +369,7 @@ RegisterNetEvent("QBCore:Server:OnPlayerLoaded", function()
TriggerEvent("community_bridge:Server:OnPlayerLoaded", src)
end)
RegisterNetEvent("QBCore:Server:OnPlayerUnload", function()
RegisterNetEvent("QBCore:Server:OnPlayerUnload", function(source)
local src = source
TriggerEvent("community_bridge:Server:OnPlayerUnload", src)
end)