Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.19

Description

Description:Adds a magazine with a specific bullet count to a character.

Syntax

Syntax:unit addMagazineEx [magazineName,bulletcount]
Parameters:
  • unit: Object - Character to add the magazines to.
  • magazineName: String - Magazine name.
  • bulletCount: Number - Number of bullets.
Return Value:Nothing

Examples

Examples:
player addMagazineEx ["vbs2_mag_30rnd_556x45_Ball_m4", 10]

Additional Information

See also: addMagazineCargoEx
Multiplayer: 
Problems: 

Notes