Difference between revisions of "00BF"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''GET_TIME_OF_DAY''' <hr /> '''Description''' : Gets the current game time '''Syntax''' :00BF: [''var 1''] = current_time_hours, [''var 2''] = current_time_m...")
 
m
Line 19: Line 19:
  
 
== See also ==
 
== See also ==
* [[00C0]] &ndash; set time of day
+
* [[00C0]] &ndash; sets time of day
 
* [[00C1]] &ndash; gets minutes left to time
 
* [[00C1]] &ndash; gets minutes left to time
 
* [[Real Time Clock]]
 
* [[Real Time Clock]]
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 18:45, 12 February 2015

GTA III Vice City San Andreas GET_TIME_OF_DAY


Description

Gets the current game time

Syntax

00BF: [var 1] = current_time_hours, [var 2] = current_time_minutes

Parameter

[var 1]
Variable to store game hours value
[var 2]
Variable to store game minutes value

Native analog

GET_TIME_OF_DAY

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

Keywords

get, current, time, clock

See also