So the plugin that I edited to have color loads but it doesn't seem to auto-broadcast this message.
Code:string DMessage = "<color=red>test</color>"; void Broadcast() { timer.Every(5, () => { if (players.Connected.Count() <= 0) { foreach (var player in players.Connected) { player.Message(DMessage, player.Id); } } }); }
Solved Adding color to messages?
Discussion in 'Rust Development' started by cookiecool, Feb 14, 2018.
-
Is this a plugin you made?
-
[DOUBLEPOST=1518578810][/DOUBLEPOST] -
Wulf Community Admin
You’re using a method wrong though, that is the issue. You should really “fix” your IntelliSense as you’d see what the actual signatures are. -
Last edited by a moderator: Feb 14, 2018
-
Wulf Community Admin
-
Code:{ "Donate": "<color=red>test</color>", }
-
Wulf Community Admin
Code:[#000000]text[/#]
-
[DOUBLEPOST=1518579997][/DOUBLEPOST]