_NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE
Returns false if pedshot push failed
Hash
0xB72999D3120599DFRuntime name
NetworkPersonaPhotoWriteScProfileNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _NETWORK_PERSONA_PHOTO_WRITE_SC_PROFILE(const char* texture, int personaPhotoType, int formatIndex);Parameters
| Name | Type | Description |
|---|---|---|
texture | const char* | — |
personaPhotoType | int | — |
formatIndex | int | — |
Returns BOOL
Description
Returns false if pedshot push failed
Usage
local retval = NetworkPersonaPhotoWriteScProfile(texture, personaPhotoType, formatIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB72999D3120599DF, texture, personaPhotoType, formatIndex, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = NetworkPersonaPhotoWriteScProfile(texture, personaPhotoType, formatIndex);
// by hash
const retval = Citizen.invokeNative('0xB72999D3120599DF', texture, personaPhotoType, formatIndex, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.