RedM Natives

UI_FEED_GET_CURRENT_MESSAGE

Returns feedMessage

Hash0xC17F69E1418CD11F
Runtime nameUiFeedGetCurrentMessage
NamespaceUIFEED
SideClient
NameOfficial
Docs
Since build1207

Signature

int UI_FEED_GET_CURRENT_MESSAGE(int feedChannel);

Parameters

NameTypeDescription
feedChannelint—

Returns int

Description

feedChannel: see UI_FEED_CLEAR_CHANNEL
Returns feedMessage

Usage

Lua
local retval = UiFeedGetCurrentMessage(feedChannel)

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

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

Enums and flags

Sources

alloc8or RDR3 NativeDB

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