_SET_PLAYER_PROMPT_SIT_TEXT
Sets the sit prompt for a specific player using a predefined text entry.
0x988C9045531B9FCESetPlayerPromptSitText_SET_PLAYER_SIT_PROMPT_TEXTSignature
void _SET_PLAYER_PROMPT_SIT_TEXT(Player player, const char* promptTextKey);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
promptTextKey | const char* | — |
Returns void
Description
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
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
SetPlayerPromptSitText(player, promptTextKey)
-- always works, by hash
Citizen.InvokeNative(0x988C9045531B9FCE, player, promptTextKey)JavaScript and C#
SetPlayerPromptSitText(player, promptTextKey);
// by hash
Citizen.invokeNative('0x988C9045531B9FCE', player, promptTextKey);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.