ReplayClientBlocked

registerEffectForReplayEditor

REGISTER_EFFECT_FOR_REPLAY_EDITOR0x7E2BD3EF6C205F09

The GTA V native REGISTER_EFFECT_FOR_REPLAY_EDITOR of the REPLAY namespace, as LS:MP client scripts call it: the global function registerEffectForReplayEditor, in JavaScript and in Lua.

SignatureJavaScript
registerEffectForReplayEditor(p0: string, p1: boolean): void
SignatureLua
registerEffectForReplayEditor(p0: string, p1: boolean)
✕
Blocked for scripts: Rockstar Editor

Recording and replay natives are not available to resources.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Replay REPLAY
In the game
void REGISTER_EFFECT_FOR_REPLAY_EDITOR(const char* p0, BOOL p1)
Hash
0x7E2BD3EF6C205F09

Open in the interactive natives reference