0113

From GTAMods Wiki
Revision as of 21:58, 30 July 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} '''ADD_AMMO_TO_CHAR''' <hr /> '''Description''' : Adds ammo to the player's weapon '''Syntax''' : 0113: add_ammo_to_player [''player handle''] weapon [''int1''] rou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III ADD_AMMO_TO_CHAR


Description

Adds ammo to the player's weapon

Syntax

0113: add_ammo_to_player [player handle] weapon [int1] rounds [int2]

Parameter

[player handle]
The handle of the player
[int1]
Weapon number
[int2]
Ammo

This opcode adds ammo to your weapon. If you do not have the weapon, the weapon will be given to you along with ammo. This opcode was never called in the original script of GTA III.

Keywords

add, player, weapon, ammo

See also

  • 0114, adds ammo to the character's weapon
  • 017A, sets ammo to the player's weapon