isIplActive
IS_IPL_ACTIVE0x88A741E44A2B3495The 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.
isIplActive(iplName: string): booleanisIplActive(iplName: string): booleanUsage
JavaScript
const result = isIplActive(iplName);Lua
local result = isIplActive(iplName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
iplName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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