RedM Natives

_NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE

Returns false if pedshot push failed

Hash0xB72999D3120599DF
Runtime nameNetworkPersonaPhotoWriteScProfile
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE(const char* texture, int personaPhotoType, int formatIndex);

Parameters

NameTypeDescription
textureconst char*—
personaPhotoTypeint—
formatIndexint—

Returns BOOL

Description

Returns false if pedshot push failed

Usage

Lua
local retval = NetworkPersonaPhotoWriteScProfile(texture, personaPhotoType, formatIndex)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB72999D3120599DF, texture, personaPhotoType, formatIndex, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = NetworkPersonaPhotoWriteScProfile(texture, personaPhotoType, formatIndex);

// by hash
const retval = Citizen.invokeNative('0xB72999D3120599DF', texture, personaPhotoType, formatIndex, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB72999D3120599DF, texture, personaPhotoType, formatIndex);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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