26.06.2017, 20:11
Quote:
|
Well, I'm stuck again. This time with commands.
How do I make a command that doesn't need a sender? i.e if i wanted to make a /help command, I get "unknown command" unless i unclude BasePlayer, but that makes it "/help [player]" |
Код:
[Command("help")]
public static void HelpCommand(BasePlayer sender) {
sender.SendClientMessage("help here");
}
Код:
[Command("help")]
public void HelpCommand() {
SendClientMessage("help here");
}


