5 if (!
super.CanPutAsAttachment(parent))
return false;
9 if (parent.FindAttachmentBySlotName(
"weaponHandguardM4") !=
NULL)
10 m4_hndgrd = parent.FindAttachmentBySlotName(
"weaponHandguardM4").IsKindOf(
"M4_RISHndgrd");
12 if (parent.FindAttachmentBySlotName(
"weaponHandguardAK") !=
NULL)
13 ak_hndgrd = parent.FindAttachmentBySlotName(
"weaponHandguardAK").IsKindOf(
"AK_RailHndgrd");