Difference between revisions of "00C0"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: <code>00C0=2,%1d% %2d%</code><br> '''Description''': Sets the current game clock<br> '''Parameter 1''': Integer (hour)<br> '''Parameter 2''': Integer (minute)<br> '''Supports''': GTA3, Vic...)
 
Line 1: Line 1:
<code>00C0=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Sets the current game clock<br>
+
| ini        = 00C0=2,%1d% %2d%
'''Parameter 1''': Integer (hour)<br>
+
| description = Sets the current game clock
'''Parameter 2''': Integer (minute)<br>
+
| p1          = Integer (hour)
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p1          = Integer (minute)
 
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 +
| native      = [[SET_TIME_OF_DAY]]
 +
}}
 
This sets the current game clock. The hours are from 0 to 23 and the minutes are from 0 to 59. You can set the numbers higher but the game will reset it to the appropriate time, like hour 25 will be hour 1 and minute 65 would be hour 1 and minute 5.
 
This sets the current game clock. The hours are from 0 to 23 and the minutes are from 0 to 59. You can set the numbers higher but the game will reset it to the appropriate time, like hour 25 will be hour 1 and minute 65 would be hour 1 and minute 5.
  
Line 10: Line 12:
 
set, current, time, clock
 
set, current, time, clock
  
[[Category:OpCodes]]
+
== See also ==
 +
[[Real Time Clock]]

Revision as of 11:19, 29 March 2009

{{{games}}}


Description
Sets the current game clock
Syntax
{{{syntax1}}}
Parameter
Native analog
SET_TIME_OF_DAY

This sets the current game clock. The hours are from 0 to 23 and the minutes are from 0 to 59. You can set the numbers higher but the game will reset it to the appropriate time, like hour 25 will be hour 1 and minute 65 would be hour 1 and minute 5.

Keywords

set, current, time, clock

See also

Real Time Clock