RedM Natives

REMOVE_NAMED_PTFX_ASSET

Hash0xF20866829E1C81A2
Runtime nameRemoveNamedPtfxAsset
NamespaceSTREAMING
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5F61EBBE1A00F96D

Signature

void REMOVE_NAMED_PTFX_ASSET(Hash fxNameHash);

Parameters

NameTypeDescription
fxNameHashHash—

Returns void

Usage

Lua
RemoveNamedPtfxAsset(fxNameHash)

-- always works, by hash
Citizen.InvokeNative(0xF20866829E1C81A2, fxNameHash)
JavaScript and C#
JavaScript
RemoveNamedPtfxAsset(fxNameHash);

// by hash
Citizen.invokeNative('0xF20866829E1C81A2', fxNameHash);
C#
Function.Call((Hash)0xF20866829E1C81A2, fxNameHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

See also

Sources

alloc8or RDR3 NativeDB

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