◆ CanPutAsAttachment() [1/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") ==
NULL && parent.FindAttachmentBySlotName(
"pistolMuzzle") ==
NULL )
7 {
8 return true;
9 }
10 return false;
11 }
◆ CanPutAsAttachment() [2/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( !parent.FindAttachmentBySlotName("pistolMuzzle") )
7 {
8 return true;
9 }
10 return false;
11 }
◆ CanPutAsAttachment() [3/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") ==
NULL && parent.FindAttachmentBySlotName(
"weaponBayonetAK") ==
NULL )
7 {
8 return true;
9 }
10 return false;
11 }
◆ CanPutAsAttachment() [4/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") ==
NULL && parent.FindAttachmentBySlotName(
"weaponMuzzleMP5") ==
NULL )
7 {
8 return true;
9 }
10 return false;
11 }
◆ CanPutAsAttachment() [5/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") ==
NULL && parent.FindAttachmentBySlotName(
"weaponMuzzleMP5") ==
NULL )
7 {
8 return true;
9 }
10 return false;
11 }
Объявления и описания членов классов находятся в файлах: