Documentation added, deprecated old points, removed incomplete clothing bridge. I migrated the points into the new system and added deprecation notices. Cleaned some white spaces because they made me unhappy. Added GetStreetNameAtCoords as it may be useful to return a string for others. Added support for lb-tablet dispatch alerts (thank you loaf)
32 lines
840 B
Lua
32 lines
840 B
Lua
--[[This module is incomplete]]--
|
|
|
|
Clothing = Clothing or {}
|
|
|
|
Clothing.SetAppearance = function(src, data)
|
|
TriggerClientEvent('community_bridge:client:SetAppearance', src, data)
|
|
end
|
|
|
|
Clothing.RestoreAppearance = function(src)
|
|
TriggerClientEvent('community_bridge:client:RestoreAppearance', src)
|
|
end
|
|
|
|
Clothing.ReloadSkin = function(src)
|
|
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) |