HAS_NAMED_PTFX_ASSET_LOADED
Returns true once the particle effect asset identified by fxNameHash has loaded.
Signature
BOOL HAS_NAMED_PTFX_ASSET_LOADED(Hash fxNameHash); // 0x65BB72F29138F5D6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | fxNameHash | Hash |
Facts
| Name | HAS_NAMED_PTFX_ASSET_LOADED |
|---|---|
| Hash | 0x65BB72F29138F5D6 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x65BB72F29138F5D6, -- HAS_NAMED_PTFX_ASSET_LOADED
GetHashKey("name") -- Hash fxNameHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x65BB72F29138F5D6", // HAS_NAMED_PTFX_ASSET_LOADED
GetHashKey("name"), // Hash fxNameHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x65BB72F29138F5D6, // HAS_NAMED_PTFX_ASSET_LOADED
(uint)API.GetHashKey("name") // Hash fxNameHash
);Related STREAMING natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.