AMMO Enumerations

From Garry's Mod
Jump to: navigation, search

Used by game.AddAmmoType's input structure - the AmmoData structure.

NOTE

These enumerations do not exist in game and are listed here only for reference!



Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
AMMO_FORCE_DROP_IF_CARRIED 1 Forces player to drop the object they are carrying if the object was hit by this ammo type.
AMMO_INTERPRET_PLRDAMAGE_AS_DAMAGE_TO_PLAYER 2 Uses AmmoData.plydmg of the ammo type as the damage to deal to shot players instead of Bullet.Damage.
Personal tools
Navigation