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)-- Adds a new ammo type.float DamageForce(int nAmmoIndex)-- Gets the Damage Force of an ammo.int DamageType(int nAmmoIndex)-- Gets the Damage Type of an ammo.int Flags(int nAmmoIndex)-- Gets the flags of an ammo.Ammo_t@ GetAmmoOfIndex(int nAmmoIndex)-- Gets an ammo via index.int Index(string&in psz)-- Gets the index of an ammo.int MaxCarry(int nAmmoIndex)-- Gets the max carriage of an ammo.int MaxSplashSize(int nAmmoIndex)-- Gets the max splash size of an ammo.int MinSplashSize(int nAmmoIndex)-- Gets the min splash size of an ammo.int NPCDamage(int nAmmoIndex)-- Gets the NPC damage of an ammo.int PlrDamage(int nAmmoIndex)-- Gets the Player damage of an ammo.