The Lab
HUD native

_UI_PROMPT_SET_TRANSPORT_MODE

returns void2 paramsbuild 1207

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

Sets the transport mode in which prompt is shown, such as on foot or mounted.

Signature

C
void _UI_PROMPT_SET_TRANSPORT_MODE(Prompt prompt, int mode); // 0x876E4A35C73A6655 b1207

Parameters

#NameType
1promptPrompt
2modeint

Facts

Facts about _UI_PROMPT_SET_TRANSPORT_MODE
Name
_UI_PROMPT_SET_TRANSPORT_MODE
Hash
0x876E4A35C73A6655
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x876E4A35C73A6655, -- _UI_PROMPT_SET_TRANSPORT_MODE
  0, -- Prompt prompt
  0 -- int mode
)
JavaScript
Citizen.invokeNative("0x876E4A35C73A6655", // _UI_PROMPT_SET_TRANSPORT_MODE
  0, // Prompt prompt
  0 // int mode
);
C#
Function.Call((Hash)0x876E4A35C73A6655, // _UI_PROMPT_SET_TRANSPORT_MODE
  0, // Prompt prompt
  0 // int mode
);
All HUD natives

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