mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 21:29:59 +03:00
CFG WEAPONS DONE
This commit is contained in:
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
class Attachment_Ghillie : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "ca\weapons\mag_univ.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\ghillie\data\m_ghillie_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_GHIL_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_GHIL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
|
||||
/*class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user