fnx45.c 523 B

123456789101112131415161718192021
  1. class FNX45_Base : Pistol_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new Fnx45Recoil(this);
  6. }
  7. //Debug menu Spawn Ground Special
  8. override void OnDebugSpawn()
  9. {
  10. GameInventory inventory = GetInventory();
  11. inventory.CreateInInventory( "PistolSuppressor" );
  12. inventory.CreateInInventory( "FNP45_MRDSOptic" );
  13. inventory.CreateInInventory( "TLRLight" );
  14. inventory.CreateInInventory( "Battery9V" );
  15. inventory.CreateInInventory( "Battery9V" );
  16. SpawnAttachedMagazine("Mag_FNX45_15Rnd");
  17. }
  18. };