Time::setClockTime: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
SET_CLOCK_TIME(12, 34, 56); | SET_CLOCK_TIME(12, 34, 56); | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">time.setClockTime(hour, minute, second);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.time.setClockTime(hour, minute, second);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''hour:''' int | *'''hour:''' int | ||
| Line 10: | Line 10: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Time_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 21:33, 6 May 2017
SET_CLOCK_TIME(12, 34, 56);
Syntax
mp.game.time.setClockTime(hour, minute, second);
Required Arguments
- hour: int
- minute: int
- second: int
Return value
- Undefined
Example
// todo