Add PDW SD attachment support

This commit is contained in:
A Man
2020-01-27 16:14:49 +01:00
parent e1c922f132
commit 3249dfb5a2
4 changed files with 18 additions and 8 deletions

View File

@@ -188,9 +188,10 @@ class CfgWeapons
#include "Pistols\Makarov.hpp"
class UZI_EP1;
class UZI_SD_EP1;
#include "Pistols\PDW.hpp"
class revolver_EP1;
class revolver_EP1;
#include "Pistols\Revolver.hpp"
#include "Pistols\CZ75.hpp"

View File

@@ -1,10 +1,19 @@
class PDW_DZ : UZI_EP1
{
/* //Allow default A2 mags
magazines[] =
class Attachments
{
30Rnd_9x19_UZI,
30Rnd_9x19_UZI_SD
Attachment_Sup9 = "PDW_SD_DZ";
};
};
class PDW_SD_DZ : UZI_SD_EP1
{
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup9',_id,'PDW_DZ'] call player_removeAttachment";
};
};
*/
};