Difference between revisions of "0531"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} '''ADD_STORES_KNOCKED_OFF''' <hr /> '''Description''' : Adds to the stores knocked off stat '''Syntax''' : 0531: increment_stores_knocked_off_by [''int''] '''Param...")
 
m
 
Line 1: Line 1:
{{Icon|VC}} '''ADD_STORES_KNOCKED_OFF'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = ADD_STORES_KNOCKED_OFF
: Adds to the stores knocked off stat
+
| description = Adds to the stores knocked off [[List of statistics (VC)|stat]]
'''Syntax'''
+
| syntax1    = 0531: increment_stores_knocked_off_by [''int'']
: 0531: increment_stores_knocked_off_by [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Integer value
: [''int'']
+
}}
:: Integer value
 
  
This opcode adds to the "Stores Knocked Off" stat ([[GXT]] string <code>ST_STOR</code>). The stat will initially start with a value of 0. The parameter can be any integer value, including negative ones. The "out of 15" value is [[hardcoded]] within the game. 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 "Stores Knocked Off" stat ([[GXT]] key <code>ST_STOR</code>). The stat initially starts with a value of 0. The parameter can be any integer value, including negative ones. The "out of 15" value is [[hardcoded]] within the game. 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, stores, knocked, off, robbed, rob, statistics, stat
 
register, save, stores, knocked, off, robbed, rob, statistics, stat
 
[[Category:OpCodes]]
 

Latest revision as of 23:41, 27 November 2016

Vice City ADD_STORES_KNOCKED_OFF


Description
Adds to the stores knocked off stat
Syntax
0531: increment_stores_knocked_off_by [int]
Parameter
[int]
Integer value

This opcode adds to the "Stores Knocked Off" stat (GXT key ST_STOR). The stat initially starts with a value of 0. The parameter can be any integer value, including negative ones. The "out of 15" value is hardcoded within the game. The value set with this opcode is saved in block 19 of the save file.

Keywords

register, save, stores, knocked, off, robbed, rob, statistics, stat