GetAttachment

Синтаксис

native GetAttachment(const entity, const attachment, Float:vecOrigin[3], Float:vecAngles[3] = {0.0, 0.0, 0.0});

Употреба

entity
Entity index
attachment
Number of the attachment
vecOrigin
Array to store origin in
vecAngles
Array to store angles in

Описание

Gets the position of the attachment

Връщаща стойност

1 on success, 0 otherwise

Грешка

If the index is not within the range of 1 to maxEntities or
the entity is not valid, an error will be thrown.