LookupEntityAttachment
Returns the index number of a given named attachment.
native int LookupEntityAttachment(int entity, const char[] name)
Parameters
int entity
The entity index.
const char[] name
The attachment name.
Return Value
int An attachment index, or 0 if the attachment name is invalid or unused.Error
Invalid entity or lack of mod support.