The Lab
NETWORK native

_NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE

returns BOOL3 paramsbuild 1207

Uploads the given texture as a persona photo to the Social Club profile. Returns true if the upload started.

Signature

C
BOOL _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE(const char* texture, int personaPhotoType, int formatIndex); // 0xB72999D3120599DF b1207

Parameters

#NameType
1textureconst char*
2personaPhotoTypeint
3formatIndexint

Facts

Facts about _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
Name
_NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
Hash
0xB72999D3120599DF
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xB72999D3120599DF, -- _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
  "text", -- const char* texture
  0, -- int personaPhotoType
  0 -- int formatIndex
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xB72999D3120599DF", // _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
  "text", // const char* texture
  0, // int personaPhotoType
  0, // int formatIndex
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xB72999D3120599DF, // _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
  "text", // const char* texture
  0, // int personaPhotoType
  0 // int formatIndex
);
All NETWORK natives

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