RedM Natives

_SET_PLAYER_PROMPT_SIT_TEXT

Sets the sit prompt for a specific player using a predefined text entry.

Hash0x988C9045531B9FCE
Runtime nameSetPlayerPromptSitText
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1232
Also known as_SET_PLAYER_SIT_PROMPT_TEXT

Signature

void _SET_PLAYER_PROMPT_SIT_TEXT(Player player, const char* promptTextKey);

Parameters

NameTypeDescription
playerPlayer—
promptTextKeyconst char*—

Returns void

Description

alloc8or RDR3 NativeDB

Sets the sit prompt for a specific player using a predefined text entry.
Example usage:
PLAYER::_SET_PLAYER_PROMPT_SIT_TEXT(PLAYER::PLAYER_ID(), MISC::VAR_STRING(10, "LITERAL_STRING", "Take a Seat"));
The prompt for player to sit uses this text.
Screenshot: https://imgur.com/gallery/0x988c9045531b9fce-9bTHgkv

VORPCORE RDR3natives

Sets the sit prompt for a specific player using a predefined text entry. use game strings like PLAYER_SIT or use custom with
AddTextEntry("sit_custom", "Take a seat")
this native must be invoked
https://imgur.com/gallery/0x988c9045531b9fce-9bTHgkv

Usage

Lua
SetPlayerPromptSitText(player, promptTextKey)

-- always works, by hash
Citizen.InvokeNative(0x988C9045531B9FCE, player, promptTextKey)
JavaScript and C#
JavaScript
SetPlayerPromptSitText(player, promptTextKey);

// by hash
Citizen.invokeNative('0x988C9045531B9FCE', player, promptTextKey);
C#
Function.Call((Hash)0x988C9045531B9FCE, player, promptTextKey);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.