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...")
 
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 hours
: [''var'']
+
| p2t        = [''int2'']
:: Variable to store number of minutes
+
| p2d        = Game minutes
: [''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 stores the number of minutes between the [[00BF|current time]] and the time specified with the ''int'' parameters to the variable.
Line 23: Line 21:
 
* [[00BF]] &ndash; gets time of day
 
* [[00BF]] &ndash; gets time of day
 
* [[00C0]] &ndash; sets time of day
 
* [[00C0]] &ndash; sets time of day
 
[[Category:OpCodes]]
 

Revision as of 23:31, 19 November 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 hours
[int2]
Game minutes
[var]
Variable to store number of minutes
Native analog
GET_MINUTES_TO_TIME_OF_DAY

This 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

  • 00BF – gets time of day
  • 00C0 – sets time of day