Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0114

Opcode Database

0114

DescriptionAdds the specified amount of ammo to the characters weapon, if the character has the weapon.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Weapon ID (Integer) (INT)
3) Integer (INT)
Gamessa vc iii
CategoryActor, Common, Weapon
Command Name (IV)ADD_AMMO_TO_CHAR
San Andreas
sascm.ini0114=3,add_ammo_to_char %1d% weapon %2h% rounds %3d%
Example0114: add_ammo_to_char $PLAYER_ACTOR weapon 38 rounds 200000
Command NameADD_AMMO_TO_CHAR
Vice City
sascm.ini0114=3,set_actor %1d% car_weapon %2h% ammo_to %3d%
Example0114: set_actor $6479 weapon 23 add_ammo 3000
Command NameADD_AMMO_TO_CHAR
GTA III
gtascm.ini0114=3,set_actor %1d% car_weapon %2h% ammo_to %3d%
Example0114: set_actor $actor weapon 11 add_ammo 1000
Command NameADD_AMMO_TO_CHAR

<< 0113

0117 >>