DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
Mosin_Compensator.c
Go to the documentation of this file.
1class Mosin_Compensator extends ItemSuppressor
2{
3 override bool CanPutAsAttachment( EntityAI parent )
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 }
12}
override bool CanPutAsAttachment(EntityAI parent)