6 string slot_names[
SLOTS_ARRAY] = {
"weaponBayonetAK",
"weaponBayonet",
"weaponBayonetMosin",
"weaponBayonetSKS",
"weaponMuzzleMosin",
"weaponMuzzleMP5" };
11 bool cond_state =
true;
12 if (!super.CanPutAsAttachment(parent))
23 if ( parent.FindAttachmentBySlotName(
slot_names[i]) != NULL )
30 if ( cond_state && !parent.IsKindOf(
"PlateCarrierHolster") && !parent.IsKindOf(
"PlateCarrierComplete") && !parent.IsKindOf(
"CarrierHolsterSolo") && !parent.IsKindOf(
"ChestHolster") )
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
provides access to slot configuration
override bool CanPutAsAttachment(EntityAI parent)
string slot_names[SLOTS_ARRAY]