attempt to clean up clothing start

This commit is contained in:
MrNewb committed 2025-02-06 23:33:31 -05:00
1 parent d230cf1242
commit 78ad6c2932
11 files changed
+106 -155

No files matched your search

+23 -8
View File
@@ -1,17 +1,32 @@
Clothing = Clothing or {}
Clothing.SetAppearance = function(src, data)
--wip
end
Clothing.GetAppearance = function(src)
--wip
TriggerClientEvent('community_bridge:client:SetAppearance', src, data)
end
Clothing.RestoreAppearance = function(src)
--wip
TriggerClientEvent('community_bridge:client:RestoreAppearance', src)
end
Clothing.ReloadSkin = function(src)
--wip
end
TriggerClientEvent('community_bridge:client:ReloadSkin', src)
end
RegisterNetEvent('community_bridge:client:SetAppearance', function(data)
Clothing.SetAppearance(data)
end)
RegisterNetEvent('community_bridge:client:GetAppearance', function()
Clothing.GetAppearance()
end)
RegisterNetEvent('community_bridge:client:RestoreAppearance', function()
Clothing.RestoreAppearance()
end)
RegisterNetEvent('community_bridge:client:ReloadSkin', function()
Clothing.ReloadSkin()
end)