Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
m4_carryhandleoptic.c
Go to the documentation of this file.
1class M4_CarryHandleOptic extends ItemOptics
2{
3 override bool CanPutAsAttachment( EntityAI parent )
4 {
5 if(!super.CanPutAsAttachment(parent)) {return false;}
6 if ( parent.IsKindOf("M4A1_Base") )
7 {
8 return true;
9 }
10
11 return false;
12 }
13}
override bool CanPutAsAttachment(EntityAI parent)