Difference between revisions of "0529"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} '''ADD_MONEY_SPENT_ON_PROPERTY''' <hr /> '''Description''' : Adds to the property budget stat '''Syntax''' : 0529: add [''int''] to_money_spent_on_property_stats '...")
 
m
 
Line 1: Line 1:
{{Icon|VC}} '''ADD_MONEY_SPENT_ON_PROPERTY'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = ADD_MONEY_SPENT_ON_PROPERTY
: Adds to the property budget stat
+
| description = Adds to the property budget [[List of statistics (VC)|stat]]
'''Syntax'''
+
| syntax1    = 0529: add [''int''] to_money_spent_on_property_stats
: 0529: add [''int''] to_money_spent_on_property_stats
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Integer value
: [''int'']
+
}}
:: Integer value
 
  
This opcode adds to the "Property Budget" stat ([[GXT]] string <code>ST_PROP</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 "Property Budget" stat ([[GXT]] key <code>ST_PROP</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, property, budget, statistics, stat
 
register, save, money, spent, property, budget, statistics, stat
 
[[Category:OpCodes]]
 

Latest revision as of 02:42, 30 November 2016

Vice City ADD_MONEY_SPENT_ON_PROPERTY


Description
Adds to the property budget stat
Syntax
0529: add [int] to_money_spent_on_property_stats
Parameter
[int]
Integer value

This opcode adds to the "Property Budget" stat (GXT key ST_PROP). 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, property, budget, statistics, stat