0528

From GTAModding
Jump to: navigation, search

Vice City ADD_MONEY_SPENT_ON_WEAPONS


Description
Adds to the weapon budget stat
Syntax
0528: add [int] to_money_spent_on_weapons_stats
Parameter
[int]
Integer value

This opcode adds to the "Weapon Budget" stat (GXT key ST_WEAP). The stat initially starts with a value of 0 and its value appears in the stats menu formatted as $0.00. The parameter can be any integer value, including negative ones. The value set with this opcode is saved in block 19 of the save file.

Keywords

register, save, money, spent, weapon, budget, statistics, stat