endTextCommandThefeedPostMessagetextWithCrewTag
END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_WITH_CREW_TAG0x5CBF7BADE20DB93EThe 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.
endTextCommandThefeedPostMessagetextWithCrewTag(
txdName: string,
textureName: string,
flash: boolean,
iconType: number,
sender: string,
subject: string,
duration: number,
clanTag: string
): numberendTextCommandThefeedPostMessagetextWithCrewTag(
txdName: string,
textureName: string,
flash: boolean,
iconType: integer,
sender: string,
subject: string,
duration: number,
clanTag: string
): integerUsage
const result = endTextCommandThefeedPostMessagetextWithCrewTag(
txdName, textureName, flash, iconType, sender, subject, duration, clanTag
);local result = endTextCommandThefeedPostMessagetextWithCrewTag(
txdName, textureName, flash, iconType, sender, subject, duration, clanTag
)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
txdName | string | string | string |
textureName | string | string | string |
flash | BOOL | boolean | boolean |
iconType | int | number | integer |
sender | string | string | string |
subject | string | string | string |
duration | float | number | number |
clanTag | 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.
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