Difference between revisions of "0528"

From GTAMods Wiki
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}} '''ADD_MONEY_SPENT_ON_WEAPONS'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = ADD_MONEY_SPENT_ON_WEAPONS
: Adds to the weapon budget stat
+
| description = Adds to the weapon budget [[List of statistics (VC)|stat]]
'''Syntax'''
+
| syntax1    = 0528: add [''int''] to_money_spent_on_weapons_stats
: 0528: add [''int''] to_money_spent_on_weapons_stats
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Integer value
: [''int'']
+
}}
:: Integer value
 
  
This opcode adds to the "Weapon Budget" stat ([[GXT]] string <code>ST_WEAP</code>). The stat will initially start with a value of 0 and is displayed in the menu 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]].
+
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
 
[[Category:OpCodes]]
 

Latest revision as of 23:47, 27 November 2016

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