Translations:Binds/53/uk: Difference between revisions

From DDraceNetwork
No edit summary
No edit summary
Line 4: Line 4:
   
   
  <span style="color:blue">echo</span> <span style="color:purple">setting ON</span>
  <span style="color:blue">echo</span> <span style="color:purple">setting ON</span>
bind [key] exec file1.cfg


bind [key] exec file1.cfg
Щоб зробити ще один крок уперед, існує команда для зміни кольору echo-повідомлень.
Щоб зробити ще один крок уперед, існує команда для зміни кольору echo-повідомлень.
  [command/setting] [value]
  [command/setting] [value]

Revision as of 13:34, 30 December 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Binds)
As a more clear way to show which file you're activating when you press a bind, you can use the '''echo''' command to display which one is active.
 [command/setting] [value]
 [command/setting] [value]
 
 <span style="color:blue">echo</span> <span style="color:purple">setting ON</span>
 
 bind [key] exec file1.cfg
To take this a step further, there is a command to change the color of the echo messages.
 [command/setting] [value]
 [command/setting] [value]
 
 <span style="color:blue">cl_message_client_color</span> <span style="color:purple">red</span>
 <span style="color:blue">echo</span> <span style="color:purple">setting OFF</span>
 
 bind [key] exec file1.cfg
Having different colors for "on" and "off" binds makes it a bit easier to notice which setting you've activated.  If you want to get more creative with colors, see [https://wiki.ddnet.org/wiki/Binds#Colors colors].

Як наочний спосіб показати, який файл активується при натисканні кнопки bind, ви можете використовувати команду echo, щоб показати, який файл активний.

[command/setting] [value]
[command/setting] [value]

echo setting ON

bind [key] exec file1.cfg

Щоб зробити ще один крок уперед, існує команда для зміни кольору echo-повідомлень.

[command/setting] [value]
[command/setting] [value]
cl_message_client_color red
echo setting OFF

bind [key] exec file1.cfg

Використання різних кольорів для біндів "увімкнено" та "вимкнено" дозволяє легше помітити, яке налаштування активовано. Якщо ви хочете більш творчо підійти до використання кольорів, див.кольори.