Difference between revisions of "0533"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
 
Line 1: Line 1:
 
[[File:0533.png|thumb|0533 affecting the stat]]
 
[[File:0533.png|thumb|0533 affecting the stat]]
{{Icon|VC}} '''ADD_NUMBER_OF_ASSASSINATIONS'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = ADD_<wbr>NUMBER_<wbr>OF_<wbr>ASSASSINATIONS
: Add assassination contract stat
+
| description = Adds to the assassination contracts stat
'''Syntax'''
+
| syntax1    = 0533: increment_assassination_contracts_by [''int'']
: 0533: increment_assassination_contracts_by [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Integer value
: [''int'']
+
}}
:: Integer value
 
  
This opcode adds to the "Assassination Contracts Completed" ([[GXT]] string ST_ASSI) stat. The parameter can be any integer value. The "out of 5" value is [[hardcoded]] within the game.
+
This opcode adds to the "Assassination Contracts Completed" stat ([[GXT]] key <code>ST_ASSI</code>). The stat will initially start with a value of 0. 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]]. The "out of 5" value is [[hardcoded]] within the game.
  
 
== Keywords ==
 
== Keywords ==
add, assassination, increment, stats
+
register, save, add, number, assassination, increment, contract, contracts, completed, stats
 
 
[[Category:OpCodes]]
 

Latest revision as of 07:06, 29 June 2016

0533 affecting the stat

Vice City ADD_NUMBER_OF_ASSASSINATIONS


Description
Adds to the assassination contracts stat
Syntax
0533: increment_assassination_contracts_by [int]
Parameter
[int]
Integer value

This opcode adds to the "Assassination Contracts Completed" stat (GXT key ST_ASSI). The stat will initially start with a value of 0. 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. The "out of 5" value is hardcoded within the game.

Keywords

register, save, add, number, assassination, increment, contract, contracts, completed, stats