From a6ca69944e5213a4f57d765e705f9004385f0107 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:42:24 +0100 Subject: [PATCH] chat_command_suicide 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_suicide.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_suicide.gsc b/chat_commands/chat_command_suicide.gsc index 7844ea8..715b2a2 100644 --- a/chat_commands/chat_command_suicide.gsc +++ b/chat_commands/chat_command_suicide.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(["27016", "27017"], "suicide", "function", ::SuicideCommand); + CreateCommand(level.chat_commands["ports"], "suicide", "function", ::SuicideCommand, 1); }