◆ CanPutAsAttachment() [1/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( !parent.FindAttachmentBySlotName("weaponButtstockAK").IsKindOf("GrozaGL_LowerReceiver") )
7 {
8 return true;
9 }
10
11 return false;
12 }
◆ CanPutAsAttachment() [2/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( !parent.FindAttachmentBySlotName("weaponButtstockAK") || !parent.FindAttachmentBySlotName("weaponButtstockAK").IsKindOf("GrozaGL_LowerReceiver") )
7 {
8 return true;
9 }
10
11 return false;
12 }
◆ CanPutAsAttachment() [3/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( !parent.FindAttachmentBySlotName("weaponButtstockAK").IsKindOf("GrozaGL_LowerReceiver") )
7 {
8 return true;
9 }
10
11 return false;
12 }
◆ CanPutAsAttachment() [4/5]
10 {
12 if(!
super.CanPutAsAttachment(parent)) {
return false;}
14 {
16 {
18 break;
19 }
20 }
21
22 if (
cond_state && !parent.IsKindOf(
"PlateCarrierHolster") && !parent.IsKindOf(
"PlateCarrierComplete") && !parent.IsKindOf(
"CarrierHolsterSolo") && !parent.IsKindOf(
"ChestHolster") )
23 {
24 return true;
25 }
26 return false;
27 }
string slot_names[SLOTS_ARRAY]
Definition ImprovisedSuppressor.c:6
const int SLOTS_ARRAY
Definition ImprovisedSuppressor.c:4
◆ CanPutAsAttachment() [5/5]
4 {
5 if(!
super.CanPutAsAttachment(parent)) {
return false;}
6 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") ==
NULL && parent.FindAttachmentBySlotName(
"weaponBayonet") ==
NULL )
7 {
8 return true;
9 }
10 return false;
11 }
◆ slot_names
string slot_names[SLOTS_ARRAY] = { "weaponBayonetAK", "weaponBayonet", "weaponBayonetMosin", "weaponBayonetSKS", "weaponMuzzleMosin", "weaponMuzzleMP5" } |
|
private |
6{ "weaponBayonetAK", "weaponBayonet", "weaponBayonetMosin", "weaponBayonetSKS", "weaponMuzzleMosin", "weaponMuzzleMP5" };
◆ SLOTS_ARRAY
Объявления и описания членов классов находятся в файлах: