Hi, I'm trying to remove the brackets from
public void Chat(BasePlayer player, string str, bool prefix = true) => SendReply(player, (prefix != false ? $"{_config.Settings["Prefix"]} " : string.Empty) + str);
But keep getting errors, When I try to remove the [] around "prefix" eg, plugin name. I want all messages on my server to be consistent. This is the only one with brackets around the name.
Thank you
public void Chat(BasePlayer player, string str, bool prefix = true) => SendReply(player, (prefix != false ? $"{_config.Settings["Prefix"]} " : string.Empty) + str);
But keep getting errors, When I try to remove the [] around "prefix" eg, plugin name. I want all messages on my server to be consistent. This is the only one with brackets around the name.
Thank you