Quote:
Originally Posted by SZOKOZ
SetParentAttachment should work. I guess you asked this question before trying it.
|
I have actually no idea how to use it,
Code:
bool:SetParent(client, entity)
{
SetVariantString(steamid);
AcceptEntityInput(entity, "SetParent", 0, 0, 0);
}
this works but when I change it to
Code:
AcceptEntityInput(entity, "SetParentAttachment", 0, 0, 0);
doesn't make difference
Note: Entities must be parented before being sent this input. Use at least a 0.01 second delay between SetParent and SetParentAttachment inputs.
so I tried to do the normal setparent first and delay the attachment one with timer, but that didn't make difference either