Difference between revisions of "0578"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
{{Icon|VC}} '''REGISTER_VIGILANTE_LEVEL'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = REGISTER_VIGILANTE_LEVEL
: Saves the highest vigilante level stat
+
| description = Saves the highest vigilante level [[List of statistics (VC)|stat]]
'''Syntax'''
+
| syntax1    = 0578: save_highest_vigilante_level [''int'']
: 0578: save_highest_vigilante_level [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Integer value
: [''int'']
+
}}
:: Integer value
 
  
This opcode saves the highest value to the "Highest Vigilante Mission level" [[List of statistics (VC)|stat]] ([[GXT]] string <code>FEST_HV</code>). The stat will initially start with a value of 0. Any value higher than the saved value will update the saved value with the new value; lower values have no effect on the stat. The value set with this opcode is saved in [[Saves (GTA VC)#Block 19: Stats|block 19 of the save file]].
+
This opcode saves the highest value to the "Highest Vigilante Mission level" stat ([[GXT]] key <code>FEST_HV</code>). The stat will initially start with a value of 0. Any value higher than the saved value will update the saved value with the new value; lower values have no effect on the stat. 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, highest, vigilante, level
 
register, save, highest, vigilante, level
 
[[Category:OpCodes]]
 

Latest revision as of 01:10, 14 November 2016

Vice City REGISTER_VIGILANTE_LEVEL


Description
Saves the highest vigilante level stat
Syntax
0578: save_highest_vigilante_level [int]
Parameter
[int]
Integer value

This opcode saves the highest value to the "Highest Vigilante Mission level" stat (GXT key FEST_HV). The stat will initially start with a value of 0. Any value higher than the saved value will update the saved value with the new value; lower values have no effect on the stat. The value set with this opcode is saved in block 19 of the save file.

Keywords

register, save, highest, vigilante, level