Hello, im new to coding and have been doing alot to learn it. still have a long way to go. been getting the hand of it finally at least i think XD. been having issue with just a simple test command i was messing with to learn it. run the command and nothing happens. tried alot of different ways of sending them and checking permissions, ect. iv first tried whats on the docs here then tried what iv seen on youtube.
[ChatCommand("test")]
void TestCommand(IPlayer player, string command, string[] args)
{
string Id = player.Id;
string name = player.Name;
Server.Broadcast(Id + name + "E this is a test");
if (permission.UserHasPermission(Id, "TheGdog.adminlist"))
{
Server.Broadcast(name + "is online");
}
else
{
Server.Broadcast(name + "you do not have permission");
}
}no errors in console, ect