Workshop.codes
Create

Set Ammo Last updated November 26, 2024

Description

Set the ammo of one or more Players.

Snippet

Set Ammo(Event Player, 0, 0);

Properties

Returns: Void
Parameters: Player, Clip, Ammo

Player
Type: Player | Array (Player), Default: Event Player
The player or players whose ammo will be set.

Clip
Type: Integer, Default: 0
The index of the clip whose ammo will be set. 0 Is the first clip, and 1 is the second. If the specified type does not exist, this will do nothing.

Ammo
Type: Integer, Default: 0
The ammo that will be set.

Workshop.codes