Native referenceRedM

GET_LENGTH_OF_LITERAL_STRING_IN_BYTES

0xDC5AD6B7AB8184F5 HUD
FUNCTION SIGNATURE
int GET_LENGTH_OF_LITERAL_STRING_IN_BYTES(`string` (const char*));
Property Value
Native Name GET_LENGTH_OF_LITERAL_STRING_IN_BYTES
Hash 0xDC5AD6B7AB8184F5
Return Type int
Build 1207
Parameters string (const char*)

Parameters

  • string (const char*)

Usage

Lua (Direct):

local result = GetLengthOfLiteralStringInBytes(string)

Lua (Hash):

local result = Citizen.InvokeNative(0xDC5AD6B7AB8184F5, string)

Back to HUD