The Lab
PLAYER native

_SET_PLAYER_PROMPT_SIT_TEXT

returns void2 paramsbuild 1232

Replaces the text of the sit prompt for player with the text label promptTextKey.

Signature

C
void _SET_PLAYER_PROMPT_SIT_TEXT(Player player, const char* promptTextKey); // 0x988C9045531B9FCE b1232

Parameters

#NameType
1playerPlayer
2promptTextKeyconst char*

Facts

Facts about _SET_PLAYER_PROMPT_SIT_TEXT
Name
_SET_PLAYER_PROMPT_SIT_TEXT
Hash
0x988C9045531B9FCE
Namespace
Returns
void
Game build
1232

Examples

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

Lua
Citizen.InvokeNative(0x988C9045531B9FCE, -- _SET_PLAYER_PROMPT_SIT_TEXT
  PlayerId(), -- Player player
  "text" -- const char* promptTextKey
)
JavaScript
Citizen.invokeNative("0x988C9045531B9FCE", // _SET_PLAYER_PROMPT_SIT_TEXT
  PlayerId(), // Player player
  "text" // const char* promptTextKey
);
C#
Function.Call((Hash)0x988C9045531B9FCE, // _SET_PLAYER_PROMPT_SIT_TEXT
  API.PlayerId(), // Player player
  "text" // const char* promptTextKey
);
All PLAYER natives

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