_UI_FEED_POST_LOCATION_SHARD
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
int _UI_FEED_POST_LOCATION_SHARD(Any* duration, Any* data, BOOL p2, BOOL p3); // 0xD05590C1AB38F068 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | duration | Any* (out pointer) |
| 2 | data | Any* (out pointer) |
| 3 | p2 | BOOL |
| 4 | p3 | BOOL |
Facts
| 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.
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)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)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>();Related UIFEED natives
- _UI_FEED_POST_FEED_TICKER
- _UI_FEED_POST_GAME_UPDATE_SHARD
- _UI_FEED_POST_ONE_TEXT_SHARD
- _UI_FEED_POST_THREE_TEXT_SHARD
- _UI_FEED_POST_TWO_TEXT_SHARD
- _UI_FEED_POST_VOICE_CHAT_FEED
- _UI_FEED_POST_HELP_TEXT
- _UI_FEED_POST_MISSION_NAME
- _UI_FEED_POST_OBJECTIVE
- _UI_FEED_POST_RANKUP_TOAST
- _UI_FEED_POST_RETICLE_MESSAGE
- _UI_FEED_POST_SAMPLE_NOTIFICATION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.