Native referenceRedM

COMPARE_STRINGS

0xBFBB74A15EFC149B MISC
FUNCTION SIGNATURE
int COMPARE_STRINGS(`str1` (char*), `str2` (char*), `matchCase` (BOOL), `maxLength` (int));
Property Value
Native Name COMPARE_STRINGS
Hash 0xBFBB74A15EFC149B
Return Type int
Build 1207
Parameters str1 (char*), str2 (char*), matchCase (BOOL), maxLength (int)

Parameters

  • str1 (char*)
  • str2 (char*)
  • matchCase (BOOL)
  • maxLength (int)

Usage

Lua (Direct):

local result = CompareStrings(str1, str2, matchCase, maxLength)

Lua (Hash):

local result = Citizen.InvokeNative(0xBFBB74A15EFC149B, str1, str2, matchCase, maxLength)

Back to MISC