World::time.second: Difference between revisions
m (Rt-2 moved page Environment::time.second to World::time.second) |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | __NOTOC__ | ||
This property gets/sets second time in game. | |||
==Getter== | |||
* '''<span style="color:green;">Number</span><span style="color:blue;"> (0 - 59)</span>''' | |||
==Setter== | |||
* '''<span style="color:green;">Number</span><span style="color:blue;"> (0 - 59)</span>''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
var second = mp.world.time.second ; // GETTER | |||
mp.world.time.second = 30; // SETTER | |||
</syntaxhighlight> | |||
==See Also== | |||
{{World_definition}} | |||
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