HUDClient

endTextCommandThefeedPostReplayInput

END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT0xDD6CB2CCE7C2735C

The GTA V native END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT of the HUD namespace, as LS:MP client scripts call it: the global function endTextCommandThefeedPostReplayInput, in JavaScript and in Lua.

SignatureJavaScript
endTextCommandThefeedPostReplayInput(
  type: number,
  button: string,
  text: string
): number
SignatureLua
endTextCommandThefeedPostReplayInput(
  type: integer,
  button: string,
  text: string
): integer

Usage

JavaScript
const result = endTextCommandThefeedPostReplayInput(type, button, text);
Lua
local result = endTextCommandThefeedPostReplayInput(type, button, text)

Parameters

ParameterTypeJavaScriptLua
typeintnumberinteger
buttonstringstringstring
textstringstringstring

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

returns a notification handle, prints out a notification like below:
type range: 0 - 2
if you set type to 1, button accepts "~INPUT_SOMETHING~"

example:

endTextCommandThefeedPostReplayInput(1, "~INPUT_TALK~", "Who you trynna get crazy with, ese? Don't you know I'm LOCO?!");

Examples from the scripts:

l_D1[1/*1*/]=endTextCommandThefeedPostReplayInput(1,"~INPUT_REPLAY_START_STOP_RECORDING~","");
l_D1[2/*1*/]=endTextCommandThefeedPostReplayInput(1,"~INPUT_SAVE_REPLAY_CLIP~","");
l_D1[1/*1*/]=endTextCommandThefeedPostReplayInput(1,"~INPUT_REPLAY_START_STOP_RECORDING~","");
l_D1[2/*1*/]=endTextCommandThefeedPostReplayInput(1,"~INPUT_REPLAY_START_STOP_RECORDING_SECONDARY~","");

Reference

Namespace
HUD HUD
In the game
int END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT(int type, const char* button, const char* text)
Hash
0xDD6CB2CCE7C2735C
Formerly
_DRAW_NOTIFICATION_WITH_BUTTON _END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT

Open in the interactive natives reference