From 21b9498baaf321e156b434781ebce9eb543586b9 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:14:20 +0100 Subject: [PATCH] chat_command_text_help 1.0.2 Fix warnings in the console --- 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 fe16507..a47ad6f 100644 --- a/chat_commands/chat_command_text_help.gsc +++ b/chat_commands/chat_command_text_help.gsc @@ -2,5 +2,5 @@ Init() { - 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); + CreateCommand(level.chat_commands["ports"], "help", "text", ["Type " + GetDvar("cc_prefix") + "commands to get a list of commands", "Type " + GetDvar("cc_prefix") + "help followed by a command name to see how to use it"], 1); } \ No newline at end of file