StreamingClient

removeNamedPtfxAsset

REMOVE_NAMED_PTFX_ASSET0x5F61EBBE1A00F96D

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

SignatureJavaScript
removeNamedPtfxAsset(fxName: string): void
SignatureLua
removeNamedPtfxAsset(fxName: string)

Usage

JavaScript
removeNamedPtfxAsset(fxName);
Lua
removeNamedPtfxAsset(fxName)

Parameters

ParameterTypeJavaScriptLua
fxNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Streaming STREAMING
In the game
void REMOVE_NAMED_PTFX_ASSET(const char* fxName)
Hash
0x5F61EBBE1A00F96D
Formerly
_REMOVE_NAMED_PTFX_ASSET

Open in the interactive natives reference