Files
community_bridge/modules/clothing/qb-clothing/server.lua
T
2025-01-23 23:34:21 -05:00

8 lines
290 B
Lua

if GetResourceState('qb-clothing') ~= 'started' then return end
RegisterNetEvent('qb-clothing:saveSkin', function(model, skin)
local src = source
if model ~= nil and skin ~= nil then
TriggerClientEvent('community_bridge:client:updateStoredClothing', src, skin)
end
end)