Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
aks74u.c
Go to the documentation of this file.
2 {
3  override RecoilBase SpawnRecoilObject()
4  {
5  return new Aks74uRecoil(this);
6  }
7 
8  //Debug menu Spawn Ground Special
9  override void OnDebugSpawn()
10  {
11  EntityAI entity;
12  if ( Class.CastTo(entity, this) )
13  {
14  entity.GetInventory().CreateInInventory( "AKS74U_Bttstck" );
15  entity.GetInventory().CreateInInventory( "AK_Suppressor" );
16  SpawnAttachedMagazine("Mag_AK74_30Rnd");
17  }
18  }
19 };
AKS74U
Definition: aks74u.c:1
AK74_Base
Definition: ak74.c:1
RecoilBase
Definition: recoilbase.c:1
Class
Super root of all classes in Enforce script.
Definition: enscript.c:10
EntityAI
Definition: building.c:5
Aks74uRecoil
Definition: aks74urecoil.c:1