StreamingClient

isIplActive

IS_IPL_ACTIVE0x88A741E44A2B3495

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

SignatureJavaScript
isIplActive(iplName: string): boolean
SignatureLua
isIplActive(iplName: string): boolean

Usage

JavaScript
const result = isIplActive(iplName);
Lua
local result = isIplActive(iplName)

Parameters

ParameterTypeJavaScriptLua
iplNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json

Reference

Namespace
Streaming STREAMING
In the game
BOOL IS_IPL_ACTIVE(const char* iplName)
Hash
0x88A741E44A2B3495

Open in the interactive natives reference