The Lab
SOCIALCLUB native

SC_INBOX_MESSAGE_GET_DATA_STRING

returns BOOL3 paramsbuild 1207

Reads a string field named by context from an inbox message and writes it to out. Returns true if the field exists.

Signature

C
BOOL SC_INBOX_MESSAGE_GET_DATA_STRING(int p0, const char* context, char* out); // 0x66F77FD58506FF6B b1207

Parameters

#NameType
1p0int
2contextconst char*
3outchar*

Facts

Facts about SC_INBOX_MESSAGE_GET_DATA_STRING
Name
SC_INBOX_MESSAGE_GET_DATA_STRING
Hash
0x66F77FD58506FF6B
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x66F77FD58506FF6B, -- SC_INBOX_MESSAGE_GET_DATA_STRING
  0, -- int p0
  "text", -- const char* context
  "text" -- char* out
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x66F77FD58506FF6B", // SC_INBOX_MESSAGE_GET_DATA_STRING
  0, // int p0
  "text", // const char* context
  "text", // char* out
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x66F77FD58506FF6B, // SC_INBOX_MESSAGE_GET_DATA_STRING
  0, // int p0
  "text", // const char* context
  "text" // char* out
);
All SOCIALCLUB natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.