The Lab
MISSIONDATA native

_MISSIONDATA_SET_MISSION_RATING

returns void2 paramsbuild 1207

Sets the stored medal rating for the mission missionId to rating.

Signature

C
void _MISSIONDATA_SET_MISSION_RATING(Hash missionId, int rating); // 0xE824CE7D13FCB300 b1207

Parameters

#NameType
1missionIdHash
2ratingint

Facts

Facts about _MISSIONDATA_SET_MISSION_RATING
Name
_MISSIONDATA_SET_MISSION_RATING
Hash
0xE824CE7D13FCB300
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(0xE824CE7D13FCB300, -- _MISSIONDATA_SET_MISSION_RATING
  GetHashKey("name"), -- Hash missionId
  0 -- int rating
)
JavaScript
Citizen.invokeNative("0xE824CE7D13FCB300", // _MISSIONDATA_SET_MISSION_RATING
  GetHashKey("name"), // Hash missionId
  0 // int rating
);
C#
Function.Call((Hash)0xE824CE7D13FCB300, // _MISSIONDATA_SET_MISSION_RATING
  (uint)API.GetHashKey("name"), // Hash missionId
  0 // int rating
);
All MISSIONDATA natives

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