Difference between revisions of "0533"

From GTAMods Wiki
Jump to navigation Jump to search
(created article)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[File:0533.png|thumb|0533 affecting the stat]]
 
{{OpCode
 
{{OpCode
| ini        = 0533=1,%1h%
+
| games      = {{Icon|VC}}
| description = Increments assassination contract stat
+
| command    = ADD_<wbr>NUMBER_<wbr>OF_<wbr>ASSASSINATIONS
| p1          = Integer
+
| description = Adds to the assassination contracts stat
| game        = [[Vice City]]
+
| syntax1    = 0533: increment_assassination_contracts_by [''int'']
 +
| p1t        = [''int'']
 +
| p1d        = Integer value
 
}}
 
}}
This opcode increments the "Assassination Contracts Completed" stat, as seen in this screenshot:
 
  
http://img.photobucket.com/albums/v41/spaceeinstein/0533.png
+
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.
  
The parameter can be any integer value.
+
== Keywords ==
 
+
register, save, add, number, assassination, increment, contract, contracts, completed, stats
==Keywords==
 
add, stats
 

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