RedM Natives

SC_INBOX_GET_TOTAL_NUM_MESSAGES

Hash0x8EF0F633280C0663
Runtime nameScInboxGetTotalNumMessages
NamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x03A93FF1A2CA0864

Signature

int SC_INBOX_GET_TOTAL_NUM_MESSAGES();

Returns int

Usage

Lua
local retval = ScInboxGetTotalNumMessages()

-- always works, by hash
local retval = Citizen.InvokeNative(0x8EF0F633280C0663, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = ScInboxGetTotalNumMessages();

// by hash
const retval = Citizen.invokeNative('0x8EF0F633280C0663', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x8EF0F633280C0663);

Sources

alloc8or RDR3 NativeDB

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