From 100c1441c575e81b6e10b11519d6255e73dcf97e Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:40:51 +0100 Subject: [PATCH] chat_command_kill 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_kill.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_kill.gsc b/chat_commands/chat_command_kill.gsc index ecf2146..0422449 100644 --- a/chat_commands/chat_command_kill.gsc +++ b/chat_commands/chat_command_kill.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(level.commands_servers_ports, "kill", "function", ::KillCommand, ["default_help_one_player"]); + CreateCommand(level.chat_commands["ports"], "kill", "function", ::KillCommand, 3, ["default_help_one_player"]); }