Jump to content

Change GUIAnnouncementHook

Not a Bug 2.2.6

RuGRustServer
RuGRustServer

Posted

Hi,

could you use the public-announcement hook, instead of iterating through all players?

(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player1]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player2]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player3]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player4]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player5]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player6]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player7]: [Convoy] In  5 s. the cargo will be transported along the road!
(22:24:35) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player8]: [Convoy] In  5 s. the cargo will be transported along the road!

(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] Patrol Helicopter Inbound!

(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player1]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player2]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player3]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player4]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player5]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player6]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player7]: [Convoy] The convoy started moving
(22:24:40) | [Oxide] 22:25 [Info] [GUIAnnouncements] [player8]: [Convoy] The convoy started moving

It is not an error just a source for short lags, if you have high population.

You can see the public announcement for patrol helicopter inbetween.

Maybe thats better than calling the hook for each player online 🙂

Adem

Posted

Hi. This is done so that players on the server, who use different languages, receive messages from the leng convoy in different languages. If I do as you want, then the players will receive messages only in English

Adem

Posted

Changed Status from Pending to Not a Bug

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.6k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.