From 6fcdc1e3c81145331b5624526a413006afeacaba Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:43:14 +0100 Subject: [PATCH] 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 --- chat_commands/chat_command_text_help.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_text_help.gsc b/chat_commands/chat_command_text_help.gsc index ba89a69..fe16507 100644 --- a/chat_commands/chat_command_text_help.gsc +++ b/chat_commands/chat_command_text_help.gsc @@ -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); } \ No newline at end of file