_NETWORK_PERSONA_PHOTO_WRITE_LOCAL
Returns false if pedshot push failed
Hash
0x2A48D9567940598FRuntime name
NetworkPersonaPhotoWriteLocalNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _NETWORK_PERSONA_PHOTO_WRITE_LOCAL(const char* texture, int playerSlot, int p2, int personaPhotoLocalCacheType);Parameters
| Name | Type | Description |
|---|---|---|
texture | const char* | — |
playerSlot | int | — |
p2 | int | — |
personaPhotoLocalCacheType | int | — |
Returns BOOL
Description
Returns false if pedshot push failed
Usage
local retval = NetworkPersonaPhotoWriteLocal(texture, playerSlot, p2, personaPhotoLocalCacheType)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2A48D9567940598F, texture, playerSlot, p2, personaPhotoLocalCacheType, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = NetworkPersonaPhotoWriteLocal(texture, playerSlot, p2, personaPhotoLocalCacheType);
// by hash
const retval = Citizen.invokeNative('0x2A48D9567940598F', texture, playerSlot, p2, personaPhotoLocalCacheType, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x2A48D9567940598F, texture, playerSlot, p2, personaPhotoLocalCacheType);- 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.