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 🙂

  • Like 1
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

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • 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.