Garry's Mod Wiki

Revision Difference

Enums/AMMO#516103

<cat>enum</cat> <enumeration> <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>{{EnumField|AMMO_FORCE_DROP_IF_CARRIED|1|Forces player to drop the object they are carrying if the object was hit by this ammo type.</fields>⤶ <fields><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> {{EnumField|AMMO_INTERPRET_PLRDAMAGE_AS_DAMAGE_TO_PLAYER|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.}}⤶ }}