You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
if you want to put default clothes to players (when they spawn) you can use defaultClothesPreset or defaultCustomClothes variables at the start of clothes.lua
-- false = don't change , nil = destroy thing (you can only put nil at skeletal mesh path)
{
nil, -- skeletal mesh path
{1,1,1}, -- relative scale or put false
{0,0,0}, -- relative rotation or put false
false, -- relative location or put false
false -- {material path , material slot} or put false
}
-- server,client
GetPlayerPropertyValue(player, "NetworkedClothes")
GetNPCPropertyValue(npc, "NetworkedClothes")
-- returns a table
-- returned tables can be like this
--[[
{
type = "preset",
clothes = presetid
}
{
type = "custom",
clothes = Custom Clothes Table
}
]]--
You need to include onset-networked-clothes files to your package to use functions
Set Networked Clothing Preset
-- server
SetPlayerNetworkedClothingPreset(player,presetid)
SetNPCNetworkedClothingPreset(npc,presetid)
return true on success , false on error
Set Networked Custom Clothes
-- server
SetPlayerNetworkedCustomClothes(player,Custom Clothes Table)
SetNPCNetworkedCustomClothes(npc,Custom Clothes Table)
return true on success , false on error