hasNamedPtfxAssetLoaded
HAS_NAMED_PTFX_ASSET_LOADED0x8702416E512EC454The GTA V native HAS_NAMED_PTFX_ASSET_LOADED of the STREAMING namespace, as LS:MP client scripts call it: the global function hasNamedPtfxAssetLoaded, in JavaScript and in Lua.
hasNamedPtfxAssetLoaded(fxName: string): booleanhasNamedPtfxAssetLoaded(fxName: string): booleanUsage
JavaScript
const result = hasNamedPtfxAssetLoaded(fxName);Lua
local result = hasNamedPtfxAssetLoaded(fxName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
fxName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Streaming STREAMING
- In the game
BOOL HAS_NAMED_PTFX_ASSET_LOADED(const char* fxName)- Hash
0x8702416E512EC454