chat_command_freeze 1.0.2

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
This commit is contained in:
Resxt 2023-03-18 01:38:45 +01:00
parent 93be9ab104
commit 998d2ca5b0

View File

@ -2,7 +2,7 @@
Init() Init()
{ {
CreateCommand(level.commands_servers_ports, "freeze", "function", ::FreezeCommand, ["default_help_one_player"]); CreateCommand(level.chat_commands["ports"], "freeze", "function", ::FreezeCommand, 3, ["default_help_one_player"]);
} }