StreamingClient

requestPtfxAsset

REQUEST_PTFX_ASSET0x944955FB2A3935C8

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

SignatureJavaScript
requestPtfxAsset(): void
SignatureLua
requestPtfxAsset()

Usage

JavaScript
requestPtfxAsset();
Lua
requestPtfxAsset()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

maps script name by lookup via scriptfx.dat - does nothing when script name is empty

Reference

Namespace
Streaming STREAMING
In the game
void REQUEST_PTFX_ASSET()
Hash
0x944955FB2A3935C8

Open in the interactive natives reference