DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
MakarovPBSuppressor.c
См. документацию.
1class MakarovPBSuppressor 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("weaponMuzzleMP5") == NULL )
7 {
8 return true;
9 }
10 return false;
11 }
12}
Определения Building.c:6
override bool CanPutAsAttachment(EntityAI parent)
Определения MakarovPBSuppressor.c:3