Unk1::startRecording: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
Starts recording a replay.<br>If mode is 0, turns on action replay.<br>If mode is 1, starts recording.<br>If already recording a replay, does nothing. | Starts recording a replay.<br>If mode is 0, turns on action replay.<br>If mode is 1, starts recording.<br>If already recording a replay, does nothing. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">unk1.startRecording(mode);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.unk1.startRecording(mode);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''mode:''' int | *'''mode:''' int | ||
| Line 8: | Line 8: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Unk1_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:34, 6 May 2017
Starts recording a replay.
If mode is 0, turns on action replay.
If mode is 1, starts recording.
If already recording a replay, does nothing.
Syntax
mp.game.unk1.startRecording(mode);
Required Arguments
- mode: int
Return value
- Undefined
Example
// todo