Hey, Sorry if I'm posting in the wrong place but when I try and use PrintToChat it doesn't work
public class Test : RustPlugin
{
[ChatCommand("test")]
private void TestCommand(IPlayer player, string command, string[] args)
{
try
{
PrintToChat("This works");
}
catch (Exception ex)
{
PrintToChat("This works failed");
}
}
Does anyone know why it doesn't send anything in-game?
Thanks in advance
public class Test : RustPlugin
{
[ChatCommand("test")]
private void TestCommand(IPlayer player, string command, string[] args)
{
try
{
PrintToChat("This works");
}
catch (Exception ex)
{
PrintToChat("This works failed");
}
}
Does anyone know why it doesn't send anything in-game?
Thanks in advance