HUDClient

endTextCommandThefeedPostMessagetextWithCrewTag

END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_WITH_CREW_TAG0x5CBF7BADE20DB93E

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

SignatureJavaScript
endTextCommandThefeedPostMessagetextWithCrewTag(
  txdName: string,
  textureName: string,
  flash: boolean,
  iconType: number,
  sender: string,
  subject: string,
  duration: number,
  clanTag: string
): number
SignatureLua
endTextCommandThefeedPostMessagetextWithCrewTag(
  txdName: string,
  textureName: string,
  flash: boolean,
  iconType: integer,
  sender: string,
  subject: string,
  duration: number,
  clanTag: string
): integer

Usage

JavaScript
const result = endTextCommandThefeedPostMessagetextWithCrewTag(
  txdName, textureName, flash, iconType, sender, subject, duration, clanTag
);
Lua
local result = endTextCommandThefeedPostMessagetextWithCrewTag(
    txdName, textureName, flash, iconType, sender, subject, duration, clanTag
)

Parameters

ParameterTypeJavaScriptLua
txdNamestringstringstring
textureNamestringstringstring
flashBOOLbooleanboolean
iconTypeintnumberinteger
senderstringstringstring
subjectstringstringstring
durationfloatnumbernumber
clanTagstringstringstring

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.

This function can show pictures of every texture that can be requested by requestStreamedTextureDict.

List of picNames https://pastebin.com/XdpJVbHz

flash is a bool for fading in.
iconTypes:
1 : Chat Box
2 : Email
3 : Add Friend Request
4 : Nothing
5 : Nothing
6 : Nothing
7 : Right Jumping Arrow
8 : RP Icon
9 : $ Icon

"sender" is the very top header. This can be any old string.
"subject" is the header under the sender.
"duration" is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.
"clanTag" shows a crew tag in the "sender" header, after the text. You need to use 3 underscores as padding. Maximum length of this field seems to be 7. (e.g. "MK" becomes "___MK", "ACE" becomes "___ACE", etc.)

Reference

Namespace
HUD HUD
In the game
int END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_WITH_CREW_TAG(const char* txdName, const char* textureName, BOOL flash, int iconType, const char* sender, const char* subject, float duration, const char* clanTag)
Hash
0x5CBF7BADE20DB93E
Formerly
_SET_NOTIFICATION_MESSAGE_CLAN_TAG

Open in the interactive natives reference