Skip to main content

Recorder::start

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side C#, Client-side JavaScript). Calling it does nothing or throws.

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.recorder.start(mode);

Required Arguments​

  • mode: Number: recording mode

Return value​

Unknown

Example​

Client-Side

mp.keys.bind(0x72, false, () => { // F3
if (!mp.game.recorder.isRecording()) {
mp.game.recorder.start(1);
} else {
mp.game.recorder.stop();
}
});