RedM Natives

IS_IPL_ACTIVE_BY_HASH

Old name: _IS_IMAP_ACTIVE_2

Hash0x93AC1B91CB6D9913
Runtime nameIsIplActiveByHash
NamespaceSTREAMING
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_IPL_ACTIVE_BY_HASH(Hash iplHash);

Parameters

NameTypeDescription
iplHashHash—

Returns BOOL

Description

Old name: _IS_IMAP_ACTIVE_2

Usage

Lua
local retval = IsIplActiveByHash(iplHash)

-- always works, by hash
local retval = Citizen.InvokeNative(0x93AC1B91CB6D9913, iplHash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsIplActiveByHash(iplHash);

// by hash
const retval = Citizen.invokeNative('0x93AC1B91CB6D9913', iplHash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x93AC1B91CB6D9913, iplHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.