The Lab
STREAMING native

REQUEST_NAMED_PTFX_ASSET

returns void1 parambuild 1207

Requests the particle effect asset identified by fxNameHash to be streamed in.

Wait on HAS_NAMED_PTFX_ASSET_LOADED before starting effects from it.

Signature

C
void REQUEST_NAMED_PTFX_ASSET(Hash fxNameHash); // 0xF2B2353BBC0D4E8F b1207

Parameters

#NameType
1fxNameHashHash

Facts

Facts about REQUEST_NAMED_PTFX_ASSET
Name
REQUEST_NAMED_PTFX_ASSET
Hash
0xF2B2353BBC0D4E8F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF2B2353BBC0D4E8F, -- REQUEST_NAMED_PTFX_ASSET
  GetHashKey("name") -- Hash fxNameHash
)
JavaScript
Citizen.invokeNative("0xF2B2353BBC0D4E8F", // REQUEST_NAMED_PTFX_ASSET
  GetHashKey("name") // Hash fxNameHash
);
C#
Function.Call((Hash)0xF2B2353BBC0D4E8F, // REQUEST_NAMED_PTFX_ASSET
  (uint)API.GetHashKey("name") // Hash fxNameHash
);
All STREAMING natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.