Difference between revisions of "00C1"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''GET_MINUTES_TO_TIME_OF_DAY''' <hr /> '''Description''' : Gets number of minutes left to time of day '''Syntax''' : 00C1: [''var''] = get_minutes_left_to_ti...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Icon|trilogy}} '''GET_MINUTES_TO_TIME_OF_DAY'''
+
{{OpCode
<hr />
+
| games      = {{icon|t}}
'''Description'''
+
| command    = GET_MINUTES_TO_TIME_OF_DAY
: Gets number of minutes left to time of day
+
| description = Gets number of minutes left to time of day
'''Syntax'''
+
| syntax1    = 00C1: [''var''] = get_minutes_left_to_time_hours [''int1''] time_minutes [''int2'']
: 00C1: [''var''] = get_minutes_left_to_time_hours [''int 1''] time_minutes [''int 2'']
+
| p1t        = [''int1'']
'''Parameter'''
+
| p1d        = Game hour
: [''var'']
+
| p2t        = [''int2'']
:: Variable to store number of minutes
+
| p2d        = Game minute
: [''int 1'']
+
| p3t        = [''var'']
:: Game hours
+
| p3d        = Variable to store number of minutes
: [''int 2'']
+
| native      = [[GET_MINUTES_TO_TIME_OF_DAY]]
:: Game minutes
+
}}
'''Native analog'''
 
: [[GET_MINUTES_TO_TIME_OF_DAY]]
 
  
This stores the number of minutes between the [[00BF|current time]] and the time specified with the ''int'' parameters to the variable.
+
This opcode stores the number of minutes between the [[00BF|current time]] and the time specified with the ''int'' parameters to the variable.
  
==Keywords==
+
== Keywords ==
 
get, minutes, current, time, clock
 
get, minutes, current, time, clock
  
 
== See also ==
 
== See also ==
* [[00BF]] &ndash; gets time of day
+
* {{Icon|t}} [[00BF]], gets time of day
* [[00C0]] &ndash; sets time of day
+
* {{Icon|t}} [[00C0]], sets time of day
 
 
[[Category:OpCodes]]
 

Latest revision as of 07:21, 6 December 2016

GTA III Vice City San Andreas GET_MINUTES_TO_TIME_OF_DAY


Description
Gets number of minutes left to time of day
Syntax
00C1: [var] = get_minutes_left_to_time_hours [int1] time_minutes [int2]
Parameter
[int1]
Game hour
[int2]
Game minute
[var]
Variable to store number of minutes
Native analog
GET_MINUTES_TO_TIME_OF_DAY

This opcode stores the number of minutes between the current time and the time specified with the int parameters to the variable.

Keywords

get, minutes, current, time, clock

See also

  • GTA III Vice City San Andreas 00BF, gets time of day
  • GTA III Vice City San Andreas 00C0, sets time of day