The Lab
UIFEED native

_UI_FEED_POST_TWO_TEXT_SHARD

returns int4 paramsbuild 1207

Posts a shard notification with a title and a subtitle to the UI feed and returns the feed message id.

Signature

C
int _UI_FEED_POST_TWO_TEXT_SHARD(Any* p0, Any* p1, BOOL p2, BOOL p3); // 0xA6F4216AB10EB08E b1207

Parameters

#NameType
1p0Any* (out pointer)
2p1Any* (out pointer)
3p2BOOL
4p3BOOL

Facts

Facts about _UI_FEED_POST_TWO_TEXT_SHARD
Name
_UI_FEED_POST_TWO_TEXT_SHARD
Hash
0xA6F4216AB10EB08E
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result, p0, p1 = Citizen.InvokeNative(0xA6F4216AB10EB08E, -- _UI_FEED_POST_TWO_TEXT_SHARD
  Citizen.PointerValueInt(), -- Any* p0
  Citizen.PointerValueInt(), -- Any* p1
  false, -- BOOL p2
  false, -- BOOL p3
  Citizen.ResultAsInteger()
)
print(result, p0, p1)
JavaScript
const [result, p0, p1] = Citizen.invokeNative("0xA6F4216AB10EB08E", // _UI_FEED_POST_TWO_TEXT_SHARD
  Citizen.pointerValueInt(), // Any* p0
  Citizen.pointerValueInt(), // Any* p1
  false, // BOOL p2
  false, // BOOL p3
  Citizen.resultAsInteger()
);
console.log(result, p0, p1)
C#
var p0Arg = new OutputArgument();
var p1Arg = new OutputArgument();
int result = Function.Call<int>((Hash)0xA6F4216AB10EB08E, // _UI_FEED_POST_TWO_TEXT_SHARD
  p0Arg, // Any* p0
  p1Arg, // Any* p1
  false, // BOOL p2
  false // BOOL p3
);
int p0 = p0Arg.GetResult<int>();
int p1 = p1Arg.GetResult<int>();
All UIFEED natives

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