GTAG - Modding - Opcode Database - 0113
Opcode Database
0113
| Description | Adds the specified amount of ammo to the players weapon. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) Weapon ID (Integer) (INT) 3) Integer (INT) |
| Games | |
| Category | Player, Weapon |
| Vice City | |
| sascm.ini | 0113=3,add_ammo_to_player %1d% weapon %2h% to %3d% |
| Example | 0113: add_ammo_to_player $PLAYER_CHAR weapon 6 to 10 |
| Command Name | ADD_AMMO_TO_PLAYER |
| GTA III | |
| gtascm.ini | 0113=3,add_ammo_to_player %1d% weapon %2h% to %3d% |
| Example | 0113: add_ammo_to_player $PLAYER_CHAR weapon 6 to 10 |
| Command Name | ADD_AMMO_TO_PLAYER |

