I do not know, but it can be useful
CBaseCombatCharacter::EquipWearable(CEconWear able*)
CBaseCombatCharacter::RemoveWearable(CEconWea rable*)
I was able copy the gloves are available in player
and set them at spawn another player
PHP Code:
int entity = GetEntPropEnt(iClient, Prop_Send, "m_hMyWearables");
SetEntPropEnt(iClient2, Prop_Send, "m_hMyWearables", entity);
But when I tried to create them manually, it did not work
PHP Code:
int entity = CreateEntityByName("wearable_item");
DispatchSpawn(entity);
SetEntProp(entity, Prop_Send, "m_iItemDefinitionIndex", 5034);
SetEntProp(entity, Prop_Send, "m_nFallbackPaintKit", 10009);
SetEntPropEnt(iClient, Prop_Send, "m_hMyWearables", entity);