removed qbcore from no no spots

oooooo you ttouch my tah lah lah. OOOOOOOO my ding ding dong
This commit is contained in:
gononono64 committed 2025-06-07 18:25:40 -05:00
1 parent 8ddddf5329
commit 3d9a9af993
2 files changed
-11

No files matched your search

@@ -120,11 +120,6 @@ end
AddEventHandler('community_bridge:Server:OnPlayerLoaded', function(src) AddEventHandler('community_bridge:Server:OnPlayerLoaded', function(src)
src = src and tonumber(src) src = src and tonumber(src)
assert(src, "src is nil") assert(src, "src is nil")
local Player = QBCore.Functions.GetPlayer(src) -- this locks it to qbcore, we should either just call Framework.identifier or do the require.
if not Player then return end
local citId = Player.PlayerData.citizenid
if not citId then return end
-- Use GetFullAppearanceData to cache the complete appearance -- Use GetFullAppearanceData to cache the complete appearance
Clothing.GetFullAppearanceData(src) Clothing.GetFullAppearanceData(src)
end) end)
@@ -4,7 +4,6 @@ Clothing.Players = {}
Callback = Callback or Require("lib/utility/shared/callbacks.lua") Callback = Callback or Require("lib/utility/shared/callbacks.lua")
Table = Table or Require('lib/utility/shared/tables.lua') Table = Table or Require('lib/utility/shared/tables.lua')
QBCore = QBCore or exports['qb-core']:GetCoreObject()
--- Internal function to get the full appearance data including skin, model, and converted format --- Internal function to get the full appearance data including skin, model, and converted format
--- @param src number The server ID of the player --- @param src number The server ID of the player
@@ -123,11 +122,6 @@ end
AddEventHandler('community_bridge:Server:OnPlayerLoaded', function(src) AddEventHandler('community_bridge:Server:OnPlayerLoaded', function(src)
src = src and tonumber(src) src = src and tonumber(src)
assert(src, "src is nil") assert(src, "src is nil")
local Player = QBCore.Functions.GetPlayer(src) -- this locks it to qbcore, we should either just call Framework.identifier or do the require.
if not Player then return end
local citId = Player.PlayerData.citizenid
if not citId then return end
-- Use GetFullAppearanceData to cache the complete appearance -- Use GetFullAppearanceData to cache the complete appearance
Clothing.GetFullAppearanceData(src) Clothing.GetFullAppearanceData(src)
end) end)