Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
makarovpbsuppressor.c
Go to the documentation of this file.
1
class
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
}
EntityAI
Definition
inventoryitem.c:2
ItemSuppressor
Definition
mosin_compensator.c:2
ItemSuppressor::CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
makarovpbsuppressor.c:3
Games
Dayz
scripts
4_world
entities
itembase
suppressorbase
makarovpbsuppressor.c
Generated by
1.17.0