RedM Natives

SC_INBOX_MESSAGE_GET_DATA_STRING

Hash0x66F77FD58506FF6B
Runtime nameScInboxMessageGetDataString
NamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x7572EF42FC6A9B6D

Signature

BOOL SC_INBOX_MESSAGE_GET_DATA_STRING(int p0, const char* context, char* out);

Parameters

NameTypeDescription
p0int—
contextconst char*—
outchar*—

Returns BOOL

Usage

Lua
local retval = ScInboxMessageGetDataString(p0, context, out)

-- always works, by hash
local retval = Citizen.InvokeNative(0x66F77FD58506FF6B, p0, context, out, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = ScInboxMessageGetDataString(p0, context, out);

// by hash
const retval = Citizen.invokeNative('0x66F77FD58506FF6B', p0, context, out, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x66F77FD58506FF6B, p0, context, out);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.