Workshop.codes
Create

Ammo Last updated November 26, 2024

Description

The current ammo of a player.

Snippet

Ammo(Event Player, 0);

Properties

Returns: Float
Parameters: Player, Clip

Player
Type: Player, Default: Event Player
The player whose ammo to acquire.

Clip
Type: Integer, Default: 0
The index of the clip to be acquired. 0 is the first clip, and 1 is the second. If the specified type does not exist, this will return 0.

Workshop.codes