Difference between revisions of "0528"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} '''ADD_MONEY_SPENT_ON_WEAPONS''' <hr /> '''Description''' : Adds to the weapon budget stat '''Syntax''' : 0528: add [''int''] to_money_spent_on_weapons_stats '''Pa...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = ADD_MONEY_SPENT_ON_WEAPONS | |
− | + | | description = Adds to the weapon budget [[List of statistics (VC)|stat]] | |
− | + | | syntax1 = 0528: add [''int''] to_money_spent_on_weapons_stats | |
− | + | | p1t = [''int''] | |
− | + | | p1d = Integer value | |
− | + | }} | |
− | |||
− | This opcode adds to the "Weapon Budget" stat ([[GXT]] | + | This opcode adds to the "Weapon Budget" stat ([[GXT]] key <code>ST_WEAP</code>). 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 [[Saves (GTA VC)#Block 19: Stats|block 19 of the save file]]. |
== Keywords == | == Keywords == | ||
register, save, money, spent, weapon, budget, statistics, stat | register, save, money, spent, weapon, budget, statistics, stat | ||
− | |||
− |
Latest revision as of 23:47, 27 November 2016
- 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