RedM Natives

_RELEASE_TEXTURE

Removes a texture created by 0xC5E7204F322E49EB.

Hash0x6BEFAA907B076859
Runtime nameReleaseTexture
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _RELEASE_TEXTURE(int textureId);

Parameters

NameTypeDescription
textureIdint—

Returns void

Description

Removes a texture created by 0xC5E7204F322E49EB.

Usage

Lua
ReleaseTexture(textureId)

-- always works, by hash
Citizen.InvokeNative(0x6BEFAA907B076859, textureId)
JavaScript and C#
JavaScript
ReleaseTexture(textureId);

// by hash
Citizen.invokeNative('0x6BEFAA907B076859', textureId);
C#
Function.Call((Hash)0x6BEFAA907B076859, textureId);
  • 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.