_NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
Uploads the given texture as a persona photo to the Social Club profile. Returns true if the upload started.
Signature
BOOL _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE(const char* texture, int personaPhotoType, int formatIndex); // 0xB72999D3120599DF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | texture | const char* |
| 2 | personaPhotoType | int |
| 3 | formatIndex | int |
Facts
| 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.
local result = Citizen.InvokeNative(0xB72999D3120599DF, -- _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
"text", -- const char* texture
0, -- int personaPhotoType
0 -- int formatIndex
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xB72999D3120599DF", // _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
"text", // const char* texture
0, // int personaPhotoType
0, // int formatIndex
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xB72999D3120599DF, // _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
"text", // const char* texture
0, // int personaPhotoType
0 // int formatIndex
);Related NETWORK natives
- _NETWORK_PERSONA_PHOTO_WRITE_LOCAL
- _NETWORK_GET_PLAYER_OWNER_OF_NETWORK_ID
- _NETWORK_ADD_PLAYER_TO_RECENT_GAMERS_LIST
- _NETWORK_ALERT
- _NETWORK_ARE_ONLINE_NOTIFICATIONS_SHOWN_IN_STORY_MODE
- _NETWORK_ARE_PLAYERS_IN_SAME_PLATFORM_PARTY
- _NETWORK_AUTO_SESSION_IS_AUTO_WARP_DISABLED
- _NETWORK_AUTO_SESSION_IS_INSTANCED_SESSION
- _NETWORK_AUTO_SESSION_IS_PROCESSING_SESSION_SPLIT
- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_SPLIT
- _NETWORK_AUTO_SESSION_SET_AUTO_WARP_ENABLED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.