RedM Natives

_REQUEST_PEDSHOT_TEXTURE_LOCAL_BACKUP_DOWNLOAD

Only used in R* SP Scripts

Hash0x356F9FB0698C1FEB
Runtime nameRequestPedshotTextureLocalBackupDownload
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

const char* _REQUEST_PEDSHOT_TEXTURE_LOCAL_BACKUP_DOWNLOAD(int player, int personaPhotoLocalCacheType);

Parameters

NameTypeDescription
playerint—
personaPhotoLocalCacheTypeint—

Returns const char*

Description

Only used in R* SP Scripts

Usage

Lua
local retval = RequestPedshotTextureLocalBackupDownload(player, personaPhotoLocalCacheType)

-- always works, by hash
local retval = Citizen.InvokeNative(0x356F9FB0698C1FEB, player, personaPhotoLocalCacheType, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = RequestPedshotTextureLocalBackupDownload(player, personaPhotoLocalCacheType);

// by hash
const retval = Citizen.invokeNative('0x356F9FB0698C1FEB', player, personaPhotoLocalCacheType, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0x356F9FB0698C1FEB, player, personaPhotoLocalCacheType);
  • 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.