Files
community_bridge/modules/clothing/qb-clothing/server.lua
T

26 lines
540 B
Lua
Raw Normal View History

2025-01-08 06:33:31 -05:00
if GetResourceState('qb-clothing') ~= 'started' then return end
2025-01-23 23:34:21 -05:00
RegisterNetEvent('qb-clothing:saveSkin', function(model, skin)
2025-01-08 06:33:31 -05:00
local src = source
if model ~= nil and skin ~= nil then
TriggerClientEvent('community_bridge:client:updateStoredClothing', src, skin)
end
end)
Clothing = Clothing or {}
Clothing.SetAppearance = function(src, data)
--wip
end
Clothing.GetAppearance = function(src)
--wip
end
Clothing.RestoreAppearance = function(src)
--wip
end
Clothing.ReloadSkin = function(src)
--wip
end