The Lab
UIFEED native

_UI_FEED_POST_LOCATION_SHARD

returns int4 paramsbuild 1207

Posts a location shard, the on-screen banner shown when entering a named area, using the duration and data structures. Returns the feed message id.

Signature

C
int _UI_FEED_POST_LOCATION_SHARD(Any* duration, Any* data, BOOL p2, BOOL p3); // 0xD05590C1AB38F068 b1207

Parameters

#NameType
1durationAny* (out pointer)
2dataAny* (out pointer)
3p2BOOL
4p3BOOL

Facts

Facts about _UI_FEED_POST_LOCATION_SHARD
Name
_UI_FEED_POST_LOCATION_SHARD
Hash
0xD05590C1AB38F068
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, duration, data = Citizen.InvokeNative(0xD05590C1AB38F068, -- _UI_FEED_POST_LOCATION_SHARD
  Citizen.PointerValueInt(), -- Any* duration
  Citizen.PointerValueInt(), -- Any* data
  false, -- BOOL p2
  false, -- BOOL p3
  Citizen.ResultAsInteger()
)
print(result, duration, data)
JavaScript
const [result, duration, data] = Citizen.invokeNative("0xD05590C1AB38F068", // _UI_FEED_POST_LOCATION_SHARD
  Citizen.pointerValueInt(), // Any* duration
  Citizen.pointerValueInt(), // Any* data
  false, // BOOL p2
  false, // BOOL p3
  Citizen.resultAsInteger()
);
console.log(result, duration, data)
C#
var durationArg = new OutputArgument();
var dataArg = new OutputArgument();
int result = Function.Call<int>((Hash)0xD05590C1AB38F068, // _UI_FEED_POST_LOCATION_SHARD
  durationArg, // Any* duration
  dataArg, // Any* data
  false, // BOOL p2
  false // BOOL p3
);
int duration = durationArg.GetResult<int>();
int data = dataArg.GetResult<int>();
All UIFEED natives

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