RedM Natives

IS_STRING_NULL

Hash0x602102324604D96B
Runtime nameIsStringNull
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF22B6C47C6EAB066

Signature

BOOL IS_STRING_NULL(const char* string);

Parameters

NameTypeDescription
stringconst char*—

Returns BOOL

Usage

Lua
local retval = IsStringNull(string)

-- always works, by hash
local retval = Citizen.InvokeNative(0x602102324604D96B, string, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsStringNull(string);

// by hash
const retval = Citizen.invokeNative('0x602102324604D96B', string, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x602102324604D96B, string);

Sources

alloc8or RDR3 NativeDB

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