World::time.hour: Difference between revisions

From RAGE Multiplayer Wiki
(Init)
(Undo revision 9068 by WampiR (talk))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Incomplete Functions}}
__NOTOC__
__NOTOC__
This property gets/sets the hour in the game.
This property gets/sets the hour in the game.


==Getter==
==Getter==
* '''<span style="color:green;">Number</span>'''
* '''<span style="color:green;">Number</span><span style="color:blue;"> (0 - 23)</span>'''


==Setter==
==Setter==
Line 18: Line 16:


==See Also==
==See Also==
{{Weather_definition}}
{{World_definition}}

Latest revision as of 16:02, 29 January 2018

This property gets/sets the hour in the game.

Getter

  • Number (0 - 23)

Setter

  • Number (0 - 23)

Example

var hour = mp.world.time.hour; // GETTER

mp.world.time.hour = 4; // SETTER

See Also