From 09c2503c00d35abf9123e4b509d36be0b4295306 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:44:46 +0100 Subject: [PATCH] chat_command_wallhack 1.0.1 Added permission level to CreateCommand following chat_commands 1.3.0 update [Refactor] changed level scoped ports variable following chat_commands 1.3.0 update --- chat_commands/chat_command_wallhack.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_wallhack.gsc b/chat_commands/chat_command_wallhack.gsc index d814d76..8edc435 100644 --- a/chat_commands/chat_command_wallhack.gsc +++ b/chat_commands/chat_command_wallhack.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(level.commands_servers_ports, "wallhack", "function", ::WallhackCommand, ["default_help_one_player"]); + CreateCommand(level.chat_commands["ports"], "wallhack", "function", ::WallhackCommand, 4, ["default_help_one_player"]); }