chat_command_text_help 1.0.1

Added permission level to CreateCommand following chat_commands 1.3.0 update

[Refactor] changed level scoped ports variable and prefix variable following chat_commands 1.3.0 update
This commit is contained in:
Resxt 2023-03-18 01:43:14 +01:00
parent fd6ff8805f
commit 6fcdc1e3c8

View File

@ -2,5 +2,5 @@
Init()
{
CreateCommand(level.commands_servers_ports, "help", "text", ["Type " + level.commands_prefix + "commands to get a list of commands", "Type " + level.commands_prefix + "help followed by a command name to see how to use it"]);
CreateCommand(level.chat_commands["ports"], "help", "text", ["Type " + level.chat_commands["prefix"] + "commands to get a list of commands", "Type " + level.chat_commands["prefix"] + "help followed by a command name to see how to use it"], 1);
}