Exemplo n.º 1
0
        private void OnPlayerChat(SteamPlayer player, EChatMode mode, ref UnityEngine.Color color, string text, ref bool visible)
        {
            UnturnedPlayer ply = UnturnedPlayer.Get(player);

            UnityEngine.Color c = ply.GetColor();

            if (c != UnityEngine.Color.clear)
            {
                color = c;
            }
        }