The Lab
HUD native

_UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION

returns int0 paramsbuild 1207

Based on its name and signature, here is our best reading:

Makes the next registered prompts use a horizontal layout and returns an id for that setting.

Signature

C
int _UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION(); // 0xD9459157EB22C895 b1207

Parameters

This native takes no parameters.

Facts

Facts about _UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION
Name
_UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION
Hash
0xD9459157EB22C895
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 = Citizen.InvokeNative(0xD9459157EB22C895, -- _UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xD9459157EB22C895", // _UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xD9459157EB22C895); // _UI_PROMPT_SET_REGISTER_HORIZONTAL_ORIENTATION
All HUD natives

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