From b9566bd28c654b84dbe61a17837bdef2ea2a95ff Mon Sep 17 00:00:00 2001 From: Freddy <33939455+freedy69@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:27:26 +0400 Subject: [PATCH 1/6] Update EndTextCommandThefeedPostTicker.md Changed parameter and revived the dead image link --- HUD/EndTextCommandThefeedPostTicker.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/HUD/EndTextCommandThefeedPostTicker.md b/HUD/EndTextCommandThefeedPostTicker.md index c1ba4cd91..30f992d71 100644 --- a/HUD/EndTextCommandThefeedPostTicker.md +++ b/HUD/EndTextCommandThefeedPostTicker.md @@ -6,25 +6,26 @@ aliases: ["_DRAW_NOTIFICATION"] ```c // 0x2ED7843F8F801023 0x08F7AF78 -int END_TEXT_COMMAND_THEFEED_POST_TICKER(BOOL isImportant, BOOL bHasTokens); +int END_TEXT_COMMAND_THEFEED_POST_TICKER(BOOL isImportant, BOOL showInBrief); ``` -Example output preview: +Posts a generic feed notification: -![](https://i.imgur.com/TJvqkYq.png) +![](https://i.ibb.co/GkHcFvf/image.png) ## Examples ```lua -BeginTextCommandThefeedPost("STRING") -AddTextComponentSubstringPlayerName("Hello " .. GetPlayerName(PlayerId()) .. ".") +AddTextEntry("MyFeedMessage", "Hello " .. GetPlayerName(PlayerId()) .. ".") + +BeginTextCommandThefeedPost("MyFeedMessage") EndTextCommandThefeedPostTicker(true, true) ``` ## Parameters * **isImportant**: Makes the notification flash on the screen. -* **bHasTokens**: Makes the notification appear in the "Pause Menu > Info/Brief > Notifications" section. +* **showInBrief**: Makes the notification appear in the "Pause Menu > Info/Brief > Notifications" section. ## Return value The notification handle. From 190a6b7f2202a613820da4489c0dd3e5bd96665d Mon Sep 17 00:00:00 2001 From: Freddy <33939455+freedy69@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:30:29 +0400 Subject: [PATCH 2/6] Update EndTextCommandThefeedPostTickerWithTokens.md Added information such as parameters and description --- HUD/EndTextCommandThefeedPostTickerWithTokens.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/HUD/EndTextCommandThefeedPostTickerWithTokens.md b/HUD/EndTextCommandThefeedPostTickerWithTokens.md index 196913024..b5423f547 100644 --- a/HUD/EndTextCommandThefeedPostTickerWithTokens.md +++ b/HUD/EndTextCommandThefeedPostTickerWithTokens.md @@ -6,12 +6,14 @@ aliases: ["_DRAW_NOTIFICATION_3"] ```c // 0x378E809BF61EC840 0x02BCAF9B -int END_TEXT_COMMAND_THEFEED_POST_TICKER_WITH_TOKENS(BOOL isImportant, BOOL bHasTokens); +int END_TEXT_COMMAND_THEFEED_POST_TICKER_WITH_TOKENS(BOOL isImportant, BOOL showInBrief); ``` +Posts an above minimap feed message with tokens support (blips, input keys, etc...) ## Parameters -* **isImportant**: -* **bHasTokens**: +* **isImportant**: Makes the notification flash. +* **showInBrief**: Shows in Pause Menu > Info > Notifications. ## Return value +Notification handle. From 7b74c50607771a1696c60367099e614053fefc5b Mon Sep 17 00:00:00 2001 From: Freddy <33939455+freedy69@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:32:06 +0400 Subject: [PATCH 3/6] Update EndTextCommandThefeedPostTickerForced --- HUD/EndTextCommandThefeedPostTickerForced.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/HUD/EndTextCommandThefeedPostTickerForced.md b/HUD/EndTextCommandThefeedPostTickerForced.md index 46de916ef..a4f006135 100644 --- a/HUD/EndTextCommandThefeedPostTickerForced.md +++ b/HUD/EndTextCommandThefeedPostTickerForced.md @@ -6,11 +6,14 @@ aliases: ["_DRAW_NOTIFICATION_2"] ```c // 0x44FA03975424A0EE 0x57B8D0D4 -int END_TEXT_COMMAND_THEFEED_POST_TICKER_FORCED(BOOL blink, BOOL bHasTokens); +int END_TEXT_COMMAND_THEFEED_POST_TICKER_FORCED(BOOL isImportant, BOOL showInBrief); ``` +Posts an above minimap feed notification that is forced (Previous messages will be cleared). + ## Parameters -* **blink**: -* **bHasTokens**: +* **isImportant**: If true, the notification will flash. +* **showInBrief**: If true, shows in Pause Menu > Info > Notifications. ## Return value +The notification handle. From 933bd396d0ae09835ee4836b4259b85f330ff0b4 Mon Sep 17 00:00:00 2001 From: Freddy <33939455+freedy69@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:33:43 +0400 Subject: [PATCH 4/6] Update EndTextCommandThefeedPostMpticker.md --- HUD/EndTextCommandThefeedPostMpticker.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/HUD/EndTextCommandThefeedPostMpticker.md b/HUD/EndTextCommandThefeedPostMpticker.md index 10c5a2afa..ecd6153f4 100644 --- a/HUD/EndTextCommandThefeedPostMpticker.md +++ b/HUD/EndTextCommandThefeedPostMpticker.md @@ -6,11 +6,14 @@ aliases: ["_DRAW_NOTIFICATION_4"] ```c // 0xF020C96915705B3A 0x8E319AB8 -int END_TEXT_COMMAND_THEFEED_POST_MPTICKER(BOOL blink, BOOL bHasTokens); +int END_TEXT_COMMAND_THEFEED_POST_MPTICKER(BOOL isImportant, BOOL showInBrief); ``` +Exactly the same as [`END_TEXT_COMMAND_THEFEED_POST_TICKER`](#_0x2ED7843F8F801023). + ## Parameters -* **blink**: -* **bHasTokens**: +* **isImportant**: If true, the notification will flash. +* **showInBrief**: If true, the message will be shown in Pause Menu > Info > Notifications. ## Return value +The notification handle. From 850faf9588fff16fa07bc22b9d30c9ec981ad9e3 Mon Sep 17 00:00:00 2001 From: Freddy <33939455+freedy69@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:37:23 +0400 Subject: [PATCH 5/6] Update and rename ThefeedCommentTeleportPoolOn.md to ThefeedAutoPostGametipsOn.md --- HUD/ThefeedAutoPostGametipsOn.md | 13 +++++++++++++ HUD/ThefeedCommentTeleportPoolOn.md | 15 --------------- 2 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 HUD/ThefeedAutoPostGametipsOn.md delete mode 100644 HUD/ThefeedCommentTeleportPoolOn.md diff --git a/HUD/ThefeedAutoPostGametipsOn.md b/HUD/ThefeedAutoPostGametipsOn.md new file mode 100644 index 000000000..6258222d0 --- /dev/null +++ b/HUD/ThefeedAutoPostGametipsOn.md @@ -0,0 +1,13 @@ +--- +ns: HUD +aliases: ["0x56C8B608CFD49854", "_THEFEED_COMMENT_TELEPORT_POOL_ON"] +--- +## THEFEED_AUTO_POST_GAMETIPS_ON + +```c +// 0x56C8B608CFD49854 0xF881AB87 +void THEFEED_AUTO_POST_GAMETIPS_ON(); +``` + +Enables loading screen tips to be be shown, blocks other kinds of notifications from being displayed. +Call [`THEFEED_AUTO_POST_GAMETIPS_OFF`](#_0xADED7F5748ACAFE6) to undo this. diff --git a/HUD/ThefeedCommentTeleportPoolOn.md b/HUD/ThefeedCommentTeleportPoolOn.md deleted file mode 100644 index 6bce8ee44..000000000 --- a/HUD/ThefeedCommentTeleportPoolOn.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -ns: HUD -aliases: ["0x56C8B608CFD49854"] ---- -## THEFEED_COMMENT_TELEPORT_POOL_ON - -```c -// 0x56C8B608CFD49854 0xF881AB87 -void THEFEED_COMMENT_TELEPORT_POOL_ON(); -``` - -``` -Enables loading screen tips to be be shown (`_0x15CFA549788D35EF` and `_0x488043841BBE156F`), blocks other kinds of notifications from being displayed (at least from current script). Call `0xADED7F5748ACAFE6` to display those again. -``` - From b95129010f158982894d4adbc4cf2469df872c92 Mon Sep 17 00:00:00 2001 From: Freddy <33939455+freedy69@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:39:26 +0400 Subject: [PATCH 6/6] Update and rename ThefeedCommentTeleportPoolOff.md to ThefeedAutoPostGametipsOff.md --- HUD/ThefeedAutoPostGametipsOff.md | 13 +++++++++++++ HUD/ThefeedCommentTeleportPoolOff.md | 15 --------------- 2 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 HUD/ThefeedAutoPostGametipsOff.md delete mode 100644 HUD/ThefeedCommentTeleportPoolOff.md diff --git a/HUD/ThefeedAutoPostGametipsOff.md b/HUD/ThefeedAutoPostGametipsOff.md new file mode 100644 index 000000000..1c4145030 --- /dev/null +++ b/HUD/ThefeedAutoPostGametipsOff.md @@ -0,0 +1,13 @@ +--- +ns: HUD +aliases: ["0xADED7F5748ACAFE6","_THEFEED_SHOW_GTAO_TOOLTIPS", "_THEFEED_COMMENT_TELEPORT_POOL_OFF"] +--- +## THEFEED_AUTO_POST_GAMETIPS_OFF + +```c +// 0xADED7F5748ACAFE6 0x1D6859CA +void THEFEED_AUTO_POST_GAMETIPS_OFF(); +``` + +Disables tip notifications enabled by [`THEFEED_AUTO_POST_GAMETIPS_ON`](#_0x56C8B608CFD49854) + diff --git a/HUD/ThefeedCommentTeleportPoolOff.md b/HUD/ThefeedCommentTeleportPoolOff.md deleted file mode 100644 index dc95e8657..000000000 --- a/HUD/ThefeedCommentTeleportPoolOff.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -ns: HUD -aliases: ["0xADED7F5748ACAFE6","_THEFEED_SHOW_GTAO_TOOLTIPS"] ---- -## THEFEED_COMMENT_TELEPORT_POOL_OFF - -```c -// 0xADED7F5748ACAFE6 0x1D6859CA -void THEFEED_COMMENT_TELEPORT_POOL_OFF(); -``` - -``` -Displays "normal" notifications again after calling `_0x56C8B608CFD49854` (those that were drawn before calling this native too), though those will have a weird offset and stay on screen forever (tested with notifications created from same script). -``` -