aks74u.c 419 B

12345678910111213141516171819
  1. class AKS74U : AK74_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new Aks74uRecoil(this);
  6. }
  7. //Debug menu Spawn Ground Special
  8. override void OnDebugSpawn()
  9. {
  10. EntityAI entity;
  11. if ( Class.CastTo(entity, this) )
  12. {
  13. entity.GetInventory().CreateInInventory( "AKS74U_Bttstck" );
  14. entity.GetInventory().CreateInInventory( "AK_Suppressor" );
  15. SpawnAttachedMagazine("Mag_AK74_30Rnd");
  16. }
  17. }
  18. };