From 494eb0eba9ec370a44ee6a4fe3e1ab0ea9738300 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:44:05 +0100 Subject: [PATCH] chat_command_unfair_aimbot 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_unfair_aimbot.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_unfair_aimbot.gsc b/chat_commands/chat_command_unfair_aimbot.gsc index 5713761..b83ba75 100644 --- a/chat_commands/chat_command_unfair_aimbot.gsc +++ b/chat_commands/chat_command_unfair_aimbot.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(level.commands_servers_ports, "unfairaimbot", "function", ::UnfairAimbotCommand, ["default_help_one_player"]); + CreateCommand(level.chat_commands["ports"], "unfairaimbot", "function", ::UnfairAimbotCommand, 4, ["default_help_one_player"]); }