RedM Natives

TEXTURE_DOWNLOAD_GET_NAME

Hash0x3448505B6E35262D
Runtime nameTextureDownloadGetName
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x3448505B6E35262D

Signature

const char* TEXTURE_DOWNLOAD_GET_NAME(int textureDownloadId);

Parameters

NameTypeDescription
textureDownloadIdint—

Returns const char*

Usage

Lua
local retval = TextureDownloadGetName(textureDownloadId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3448505B6E35262D, textureDownloadId, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = TextureDownloadGetName(textureDownloadId);

// by hash
const retval = Citizen.invokeNative('0x3448505B6E35262D', textureDownloadId, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0x3448505B6E35262D, textureDownloadId);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.