RedM Natives

LOAD_MISSION_CREATOR_PHOTO

Hash0x84F0BA7462FF8D58
Runtime nameLoadMissionCreatorPhoto
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x4862437A486F91B0

Signature

BOOL LOAD_MISSION_CREATOR_PHOTO(Any* p0, Any p1, Any p2, Any p3);

Parameters

NameTypeDescription
p0Any*—
p1Any—
p2Any—
p3Any—

Returns BOOL

Usage

Lua
local retval, p0 = LoadMissionCreatorPhoto(p1, p2, p3)

-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0x84F0BA7462FF8D58, Citizen.PointerValueInt(), p1, p2, p3, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0] = LoadMissionCreatorPhoto(p1, p2, p3);

// by hash
const [retval, p0] = Citizen.invokeNative('0x84F0BA7462FF8D58', Citizen.pointerValueInt(), p1, p2, p3, Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x84F0BA7462FF8D58, p0, p1, p2, p3);
// p0.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.