ump45.c 554 B

123456789101112131415161718192021222324
  1. class UMP45_Base : RifleBoltLock_Base
  2. {
  3. void UMP_Base()
  4. {
  5. }
  6. override RecoilBase SpawnRecoilObject()
  7. {
  8. return new Ump45Recoil(this);
  9. }
  10. //Debug menu Spawn Ground Special
  11. override void OnDebugSpawn()
  12. {
  13. GameInventory inventory = GetInventory();
  14. inventory.CreateInInventory( "PistolSuppressor" );
  15. inventory.CreateInInventory( "ReflexOptic" );
  16. inventory.CreateInInventory( "UniversalLight" );
  17. inventory.CreateInInventory( "Battery9V" );
  18. inventory.CreateInInventory( "Battery9V" );
  19. SpawnAttachedMagazine("Mag_UMP_25Rnd");
  20. }
  21. };