World::time.second: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
This property gets/sets game time in seconds.
__NOTOC__
This property gets/sets second time in game.


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


number - Seconds (between 0 and 59)
==Setter==
* '''<span style="color:green;">Number</span><span style="color:blue;"> (0 - 59)</span>'''


'''Setter'''
==Example==
<syntaxhighlight lang="javascript">
var second = mp.world.time.second ; // GETTER


number - Seconds (between 0 and 59)
mp.world.time.second = 30; // SETTER
</syntaxhighlight>


'''Example'''
==See Also==
 
{{World_definition}}
mp.world.time.second = 30;

Latest revision as of 16:04, 29 January 2018

This property gets/sets second time in game.

Getter

  • Number (0 - 59)

Setter

  • Number (0 - 59)

Example

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

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

See Also