endTextCommandThefeedPostReplayInput
END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT0xDD6CB2CCE7C2735CThe 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.
endTextCommandThefeedPostReplayInput(
type: number,
button: string,
text: string
): numberendTextCommandThefeedPostReplayInput(
type: integer,
button: string,
text: string
): integerUsage
JavaScript
const result = endTextCommandThefeedPostReplayInput(type, button, text);Lua
local result = endTextCommandThefeedPostReplayInput(type, button, text)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
type | int | number | integer |
button | string | string | string |
text | string | string | string |
Returns
int JavaScript number, Lua integerNotes
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