IS_STRING_NULL_OR_EMPTY
Hash
0x2CF12F9ACF18F048Runtime name
IsStringNullOrEmptyNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xCA042B6957743895Signature
BOOL IS_STRING_NULL_OR_EMPTY(const char* string);Parameters
| Name | Type | Description |
|---|---|---|
string | const char* | — |
Returns BOOL
Usage
local retval = IsStringNullOrEmpty(string)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2CF12F9ACF18F048, string, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsStringNullOrEmpty(string);
// by hash
const retval = Citizen.invokeNative('0x2CF12F9ACF18F048', string, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x2CF12F9ACF18F048, string);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.