0582

From GTAMods Wiki
Revision as of 05:48, 16 November 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|VC}} '''REGISTER_BEST_POSITION''' <hr /> '''Description''' : Saves the Hotring best result stat '''Syntax''' : 0582: register_hotring_best_result [''int''] '''Parameter...")
(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 string STHC_05). Interestingly, the stat will initially start with a value of 2147483647 (0x7FFFFFFF) but it will not be displayed in the stats menu until the 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