PHP Code:
public get_attachment_origin(ent, attachment, Float:Origin[3], Float:Angles[3])
{
engfunc(EngFunc_GetAttachment, ent, attachment, Origin, Angles)
}
This code is work. it gets Origin of attachment but get with Angles is 0.... Always is 0. if angles = 0.0 - 0.0 - 0.0. It's work great. but if i rotate player => angles change. it get origin with old angles (default angles: 0.0 - 0.0 - 0.0). How to get origin of attachment with custom angles ?
I want to get for entity. Code and example please