Garry's Mod Wiki

Revision Difference

Enums/AMMO#516278

<cat>enum</cat> <enumeration>⤶ <enum>⤶ <description> Used by <page>game.AddAmmoType</page>'s input structure - the <page>AmmoData</page>. <note>These enumerations do not exist in game and are listed here only for reference!</note> </description> <fields>⤶ <items>⤶ <item key="AMMO_FORCE_DROP_IF_CARRIED" value="1">Forces player to drop the object they are carrying if the object was hit by this ammo type.</item> <item key="AMMO_INTERPRET_PLRDAMAGE_AS_DAMAGE_TO_PLAYER" value="2">Uses [AmmoData](/gmod/Structures/AmmoData).plydmg of the ammo type as the damage to deal to shot players instead of [Bullet](/gmod/Structures/Bullet).Damage.</item> </fields>⤶ ⤶ </enumeration>⤶ </items>⤶ ⤶ </enum>⤶