The Lab
MISSIONDATA native

_MISSIONDATA_SET_REPLAY_STATE_LOCKED

returns void2 paramsbuild 1207

Sets the replay lock state of the mission missionId using replayState.

Signature

C
void _MISSIONDATA_SET_REPLAY_STATE_LOCKED(Hash missionId, int replayState); // 0xE4E2C581F127A11C b1207

Parameters

#NameType
1missionIdHash
2replayStateint

Facts

Facts about _MISSIONDATA_SET_REPLAY_STATE_LOCKED
Name
_MISSIONDATA_SET_REPLAY_STATE_LOCKED
Hash
0xE4E2C581F127A11C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xE4E2C581F127A11C, -- _MISSIONDATA_SET_REPLAY_STATE_LOCKED
  GetHashKey("name"), -- Hash missionId
  0 -- int replayState
)
JavaScript
Citizen.invokeNative("0xE4E2C581F127A11C", // _MISSIONDATA_SET_REPLAY_STATE_LOCKED
  GetHashKey("name"), // Hash missionId
  0 // int replayState
);
C#
Function.Call((Hash)0xE4E2C581F127A11C, // _MISSIONDATA_SET_REPLAY_STATE_LOCKED
  (uint)API.GetHashKey("name"), // Hash missionId
  0 // int replayState
);
All MISSIONDATA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.