0582

From GTAMods Wiki
Revision as of 02:37, 30 November 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City REGISTER_BEST_POSITION


Description
Saves the Hotring best result stat
Syntax
0582: register_hotring_best_result [int]
Parameter
[int]
Integer value

This opcode saves the lowest value to the "Hotring Best Result" stat (GXT key STHC_05). Interestingly, the stat initially starts with a value of 2147483647 (0x7FFFFFFF) and does not appear in the stats menu until its value is not equal to it. Any value lower than the saved value will update the saved value with the new value; higher 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, best, position, result, hotring, hot, ring, stadium, event, statistics, stat