StreamingClient

hasPtfxAssetLoaded

HAS_PTFX_ASSET_LOADED0xCA7D9B86ECA7481B

The GTA V native HAS_PTFX_ASSET_LOADED of the STREAMING namespace, as LS:MP client scripts call it: the global function hasPtfxAssetLoaded, in JavaScript and in Lua.

SignatureJavaScript
hasPtfxAssetLoaded(): boolean
SignatureLua
hasPtfxAssetLoaded(): boolean

Usage

JavaScript
const result = hasPtfxAssetLoaded();
Lua
local result = hasPtfxAssetLoaded()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Streaming STREAMING
In the game
BOOL HAS_PTFX_ASSET_LOADED()
Hash
0xCA7D9B86ECA7481B

Open in the interactive natives reference