RedM Natives

GET_STATUS_OF_LOAD_MISSION_CREATOR_PHOTO

Hash0xC71B50AE58D07369
Runtime nameGetStatusOfLoadMissionCreatorPhoto
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1670F8D05056F257

Signature

int GET_STATUS_OF_LOAD_MISSION_CREATOR_PHOTO(const char* contentId);

Parameters

NameTypeDescription
contentIdconst char*—

Returns int

Description

contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)

Usage

Lua
local retval = GetStatusOfLoadMissionCreatorPhoto(contentId)

-- always works, by hash
local retval = Citizen.InvokeNative(0xC71B50AE58D07369, contentId, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetStatusOfLoadMissionCreatorPhoto(contentId);

// by hash
const retval = Citizen.invokeNative('0xC71B50AE58D07369', contentId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xC71B50AE58D07369, contentId);

Sources

alloc8or RDR3 NativeDB

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