Skip to content

AmmoDefinition

Defines an ammo type that can be used by guns.

Type: "Ammo"

Always set to “Ammo”. Used to differentiate between classes.

Type: string

The internal name of the ammo.

Type: string?

The name that will be displayed in the UI. If not set, Name will be used instead.

Type: number

The maximum amount of ammo that can be stored in a single clip.

Type: number

The maximum amount of ammo that can be stored in reserve (doesn’t count ammo in the clip).

Type: boolean

Whether the ammo can be dropped as an ammo box.

Type: MapObject?

The model of the ammo.