Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe



- 0
Sign in to follow this
Followers
0
Как увеличить продолжительность отображения сообщений
Asked by
ma2015kc
-
Our picks
Прошу помощи знающих людей подсказать как увеличить время отображения сообщений. Есть купленный мод ,в нём при определённых событиях выдаются сообщения ,изначально они были очень быстрые ,просил мододела (или продавца ,что скорее всего) увеличить длительность, обещал, но в итоге пропал с концами. Буду благодарен за отзывчивость.
Как я понял эта беда отвечает за сообщения.
void SendNotificationAll(string title, string msg)
{
ref array<Man> m_Players = new array<Man>;
GetGame().GetWorld().GetPlayerList(m_Players);
PlayerBase currentPlayer;
for (int pla = 0; pla < m_Players.Count(); pla++)
{
currentPlayer = PlayerBase.Cast(m_Players.Get(pla));
if (!currentPlayer)
continue;
NotificationSystem.SendNotificationToPlayerExtended(currentPlayer, 0.2, title, msg, "set:dayz_gui image:Expand");
}
}
Share this post
Link to post
Share on other sites