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