Passer au contenu principal
Version: latest - a1.15.x ⚖️

Chat Colors

Pour colorer un texte il vous suffit de l'insérer entre deux balises de style : <TAG> mon super texte </>.

Exemple

Server/Index.lua
Server.BroadcastChatMessage("Hello with Normal text message!")
Server.BroadcastChatMessage("Hello with <cyan>Cyan</> text message!")
Server.BroadcastChatMessage("Hello with <green>Green</> text message!")
Server.BroadcastChatMessage("Hello with <blue>Blue</> text message!")
Server.BroadcastChatMessage("Hello with <marengo>Marengo</> text message!")
Server.BroadcastChatMessage("Hello with <yellow>Yellow</> text message!")
Server.BroadcastChatMessage("Hello with <orange>Orange</> text message!")
Server.BroadcastChatMessage("Hello with <red>Red</> text message!")
Server.BroadcastChatMessage("Hello with <grey>Grey</> text message!")
Server.BroadcastChatMessage("Hello with <bold>Bold</> text message!")
Server.BroadcastChatMessage("Hello with <italic>Italic</> text message!")
caution

Il est impossible de combiner plusieurs styles ensemble (ex.: Bold + Red).

Liste des tags de style

  • <cyan>
  • <green>
  • <blue>
  • <purple>
  • <marengo>
  • <yellow>
  • <orange>
  • <red>
  • <grey>
  • <bold>
  • <italic>