HUDClient

endTextCommandThefeedPostReplay

END_TEXT_COMMAND_THEFEED_POST_REPLAY0xD202B92CBF1D816F

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

SignatureJavaScript
endTextCommandThefeedPostReplay(
  type: number,
  image: number,
  text: string
): number
SignatureLua
endTextCommandThefeedPostReplay(
  type: integer,
  image: integer,
  text: string
): integer

Usage

JavaScript
const result = endTextCommandThefeedPostReplay(type, image, text);
Lua
local result = endTextCommandThefeedPostReplay(type, image, text)

Parameters

ParameterTypeJavaScriptLua
typeintnumberinteger
imageintnumberinteger
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, image goes from 0 - 39 - Xbox you can add text to

example:

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

- https://i.imgur.com/lGBPCz3.jpeg

Reference

Namespace
HUD HUD
In the game
int END_TEXT_COMMAND_THEFEED_POST_REPLAY(int type, int image, const char* text)
Hash
0xD202B92CBF1D816F
Formerly
_DRAW_NOTIFICATION_WITH_ICON _END_TEXT_COMMAND_THEFEED_POST_REPLAY_ICON

Open in the interactive natives reference