World::time.minute: Difference between revisions

From RAGE Multiplayer Wiki
(Init)
Line 1: Line 1:
{{Incomplete Functions}}
__NOTOC__
This property gets / sets the second time in the game.
 
==Getter==
* '''<span style="color:green;">Number</span>'''
 
==Setter==
* '''<span style="color:green;">Number</span><span style="color:blue;"> (0 - 59)</span>'''
 
==Example==
<syntaxhighlight lang="javascript">
var hour = mp.world.time.seconds; // GETTER
 
mp.world.time.seconds = 30; // SETTER
</syntaxhighlight>
 
==See Also==
{{World_definition}}

Revision as of 16:01, 29 January 2018

This property gets / sets the second time in the game.

Getter

  • Number

Setter

  • Number (0 - 59)

Example

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

mp.world.time.seconds = 30; // SETTER

See Also