Get attached entity by type.
2062 {
2064 {
2066 if ( attachment && attachment.IsInherited( type ) )
2067 return attachment;
2068 }
2069 return NULL;
2070 }
proto native GameInventory GetInventory()
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
proto native EntityAI GetAttachmentFromIndex(int index)
proto native int AttachmentCount()
Returns count of attachments attached to this item.