mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 10:26:28 +03:00
Add 10mm Silencer for P99
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "GP25.hpp"
|
||||
|
||||
#include "Sup9.hpp"
|
||||
#include "Sup10.hpp"
|
||||
#include "Sup556.hpp"
|
||||
#include "Sup545.hpp"
|
||||
#include "SupMakarov.hpp"
|
||||
|
||||
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
class Attachment_Sup10 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP10_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP10_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";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user