@gononono64
This commit is contained in:
1 parent
380312cc12
commit
d3ea437dfb
5 files changed
+10
-6
No files matched your search
@@ -123,7 +123,7 @@ end
|
||||
AddEventHandler('community_bridge:Server:OnPlayerLoaded', function(src)
|
||||
src = src and tonumber(src)
|
||||
assert(src, "src is nil")
|
||||
local Player = QBCore.Functions.GetPlayer(src)
|
||||
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
|
||||
@@ -162,7 +162,7 @@ Callback.Register('community_bridge:cb:GetAppearance', function(source)
|
||||
return Clothing.GetAppearance(src)
|
||||
end)
|
||||
|
||||
|
||||
-- The below Should go to unit test
|
||||
RegisterCommand('clothing:debug', function(source, args, rawCommand)
|
||||
local src = source
|
||||
Clothing.SetAppearance(src, {
|
||||
|
||||
Reference in new issue
Block a user