00BF

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

GTA III Vice City San Andreas GET_TIME_OF_DAY


Description
Gets the current game clock
Syntax
00BF: [var1] = current_time_hours, [var2] = current_time_minutes
Parameter
[var1]
Variable to store game hour, an integer value
[var2]
Variable to store game minute, an integer value
Native analog
GET_TIME_OF_DAY

This opcode stores the values of the current game hour and minute to the variables. The hours are from 0 to 23 and the minutes are from 0 to 59.

Keywords

get, current, time, clock, day

See also

  • GTA III Vice City San Andreas 00C0, sets time of day
  • GTA III Vice City San Andreas 00C1, gets minutes left to time