Dayz Explorer 1.28.160049
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)
Definition itembase.c:8966