glock.c 524 B

123456789101112131415161718192021
  1. class Glock19_Base : Pistol_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new GlockRecoil(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_Glock_15Rnd");
  17. }
  18. };