0582

From GTAModding
Jump to: navigation, 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