Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL_Pist.hpp
2020-06-28 22:41:41 +02:00

25 lines
657 B
C++

class Attachment_MFL_Pist : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
displayName = $STR_DZ_ATT_MFL_PST_NAME;
descriptionShort = $STR_DZ_ATT_MFL_PST_DESC;
class ItemActions
{
class AttachToSecondary
{
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
script = "; [_id,0] call player_attachAttachment";
};
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};