izh43.c 464 B

1234567891011121314151617181920212223
  1. class Izh43Shotgun_Base : DoubleBarrel_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new Izh43Recoil(this);
  6. }
  7. //Debug menu Spawn Ground Special
  8. override void OnDebugSpawn()
  9. {
  10. super.OnDebugSpawn();
  11. EntityAI entity;
  12. if ( Class.CastTo(entity, this) )
  13. {
  14. entity.SpawnEntityOnGroundPos("Ammo_12gaPellets", entity.GetPosition());
  15. }
  16. }
  17. };
  18. class Izh43Shotgun: Izh43Shotgun_Base {};
  19. class SawedoffIzh43Shotgun: Izh43Shotgun_Base {};