CAmmoDef@

Ammo definition.

Methods

  • void AddAmmoType(string name, int damageType, int tracerType, string plrcvar, string npccvar, string carryvar, string ammoSound, float physicsForceImpulse, int nFlags, int minSplashSize = 4, int maxSplashSize = 8) -- NOTE: Not tested!
  • float DamageForce(int nAmmoIndex)
  • int DamageType(int nAmmoIndex)
  • int Flags(int nAmmoIndex)
  • Ammo_t@ GetAmmoOfIndex(int nAmmoIndex)
  • int Index(string psz)
  • int MaxCarry(int nAmmoIndex)
  • int MaxSplashSize(int nAmmoIndex)
  • int MinSplashSize(int nAmmoIndex)
  • int NPCDamage(int nAmmoIndex)
  • int PlrDamage(int nAmmoIndex)